Skip to content

Commit 7abf753

Browse files
committed
231: Remove unnecessary OSGI imports
Task-Url: #231
1 parent 5a26b7b commit 7abf753

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/javax/measure/format/UnitFormat.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
* @author <a href="mailto:jean-marie@dautelle.com">Jean-Marie Dautelle</a>
4949
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
5050
*
51-
* @version 2.0, July 3, 2020
51+
* @version 2.1, June 16, 2021
5252
* @since 1.0
5353
*
5454
* @see Unit
@@ -77,9 +77,9 @@ public interface UnitFormat {
7777
String format(Unit<?> unit);
7878

7979
/**
80-
* Attaches a system-wide label to the specified unit.
80+
* Attaches a system-wide label to the specified {@link Unit}.
8181
* <p>
82-
* If the specified label is already associated to a unit the previous association can be discarded or ignored. Depending on the
82+
* This method overrides the previous unit's label (e.g. label from unit database or unit system) as units may only have one label. Depending on the
8383
* {@link UnitFormat} implementation, this call may be ignored if the particular unit already has a label.
8484
* </p>
8585
* If a {@link UnitFormat} implementation is explicitly <b>immutable</b>, similar to e.g. the result of <code>Collections.unmodifiableList()</code>,

0 commit comments

Comments
 (0)