diff --git a/src/main/java/tech/units/indriya/AbstractQuantity.java b/src/main/java/tech/units/indriya/AbstractQuantity.java index 2a226b17..af9634c5 100644 --- a/src/main/java/tech/units/indriya/AbstractQuantity.java +++ b/src/main/java/tech/units/indriya/AbstractQuantity.java @@ -110,7 +110,7 @@ * * @author Werner Keil * @author Andi Huber - * @version 2.5 Dec 14, 2022 + * @version 2.6 Oct 6, 2024 * @since 1.0 */ @API(status=STABLE) @@ -122,8 +122,14 @@ public abstract class AbstractQuantity> implements Compara */ private static final long serialVersionUID = 293852425369811882L; + /** + * Holds the measurement unit + */ private final Unit unit; + /** + * Holds the measurement scale + */ private final Scale scale; /** diff --git a/src/main/java/tech/units/indriya/AbstractUnit.java b/src/main/java/tech/units/indriya/AbstractUnit.java index 98b49582..610a76f3 100644 --- a/src/main/java/tech/units/indriya/AbstractUnit.java +++ b/src/main/java/tech/units/indriya/AbstractUnit.java @@ -122,6 +122,9 @@ public abstract class AbstractUnit> */ private String symbol; + /** + * Holds the measurement scale + */ protected Scale scale = ABSOLUTE; /**