From 3f6917f493e99d89ae7463fd78a264bb996faa25 Mon Sep 17 00:00:00 2001 From: Werner Keil Date: Sun, 6 Oct 2024 19:02:49 +0200 Subject: [PATCH] Updated JavaDoc --- src/main/java/tech/units/indriya/AbstractQuantity.java | 8 +++++++- src/main/java/tech/units/indriya/AbstractUnit.java | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) 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; /**