Skip to content

Commit c26c045

Browse files
committed
Improved JavaDoc
1 parent 919a2ab commit c26c045

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/javax/measure/Unit.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public interface Unit<Q extends Quantity<Q>> {
196196
*
197197
* @param that
198198
* the unit of same type to which to convert the numeric values.
199-
* @return the converter from this unit to {@code that} unit.
199+
* @return the converter from this unit to <code>that</code> unit.
200200
* @throws UnconvertibleException
201201
* if a converter cannot be constructed.
202202
*
@@ -216,7 +216,7 @@ public interface Unit<Q extends Quantity<Q>> {
216216
* the unit to which to convert the numeric values.
217217
* @return the converter from this unit to {@code that} unit.
218218
* @throws IncommensurableException
219-
* if this unit is not {@linkplain #isCompatible(Unit) compatible} with {@code that} unit.
219+
* if this unit is not {@linkplain #isCompatible(Unit) compatible} with <code>that</code> unit.
220220
* @throws UnconvertibleException
221221
* if a converter cannot be constructed.
222222
*

0 commit comments

Comments
 (0)