Community
Participate
Working Groups
Build Identifier: 20110218-0911 The class org.eclipse.uomo.units.NonSI and the Unit constants in it are not public (unlike the classes SI and USCustomary and their constants, in the same package). The class header says it is an "internal collection ...", but currently, users cannot access those units in their projects. If it is agreed that NonSI is too vague, some units should be moved to a UK specific set, and others to an SI-affine set, in which I would put units which are non-SI but whose definition is dependent on SI (e.g., kilogram-force, metric ton, angstrom). Reproducible: Always
The use of NonSI is disregarded. Like all other unit systems it was moved to org.eclipse.uomo.units.impl.system. Actually it should probably go to org.eclipse.uomo.units.internal or subpackages, which is a reserved package name for these kinds of internal types. OSGi usually prevents them from being used. Will explore that, otherwise it is package local in "system" and CommonUnits should instead be used to access these kinds of units. Unlike other systems, CommonUnits is not final, and it could theoretically be extended by something like MyCommonUnits. For most other cases however, defining custom unit systems should be done by extending org.eclipse.uomo.units.AbstractSystemOfUnits.
moved NonSI to "internal", works fine.