Skip to content

Commit

Permalink
Updated JavaDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
keilw committed Oct 6, 2024
1 parent 51ddb09 commit 3f6917f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/java/tech/units/indriya/AbstractQuantity.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
*
* @author <a href="mailto:werner@uom.technology">Werner Keil</a>
* @author Andi Huber
* @version 2.5 Dec 14, 2022
* @version 2.6 Oct 6, 2024
* @since 1.0
*/
@API(status=STABLE)
Expand All @@ -122,8 +122,14 @@ public abstract class AbstractQuantity<Q extends Quantity<Q>> implements Compara
*/
private static final long serialVersionUID = 293852425369811882L;

/**
* Holds the measurement unit
*/
private final Unit<Q> unit;

/**
* Holds the measurement scale
*/
private final Scale scale;

/**
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/tech/units/indriya/AbstractUnit.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ public abstract class AbstractUnit<Q extends Quantity<Q>>
*/
private String symbol;

/**
* Holds the measurement scale
*/
protected Scale scale = ABSOLUTE;

/**
Expand Down

0 comments on commit 3f6917f

Please sign in to comment.