File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/javax/measure/format Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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>,
You can’t perform that action at this time.
0 commit comments