diff options
author | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2025-06-04 18:39:03 -0500 |
---|---|---|
committer | Adrien Hopkins <adrien.p.hopkins@gmail.com> | 2025-06-04 18:39:03 -0500 |
commit | 25f972d198e50ad5a54fa175ec39887f02c33fdc (patch) | |
tree | 2807b0ee27a5594f0dfcab421e6840c1270a8e6c /src/main/java/sevenUnits/unit/UnitPrefix.java | |
parent | ae0559a9432f85f9147eeb80b35f1b2947889acd (diff) |
Remove most comment warnings
In some cases I've used @SuppressWarnings, which Gradle doesn't seem to
respect, but I've solved all the other ones.
Diffstat (limited to 'src/main/java/sevenUnits/unit/UnitPrefix.java')
-rw-r--r-- | src/main/java/sevenUnits/unit/UnitPrefix.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/sevenUnits/unit/UnitPrefix.java b/src/main/java/sevenUnits/unit/UnitPrefix.java index ec4be48..be4d8fb 100644 --- a/src/main/java/sevenUnits/unit/UnitPrefix.java +++ b/src/main/java/sevenUnits/unit/UnitPrefix.java @@ -124,6 +124,7 @@ public final class UnitPrefix implements Nameable { } /** + * @param other prefix to compare to * @return true iff this prefix and other are equal, * ignoring small differences caused by floating-point error. * @@ -175,6 +176,8 @@ public final class UnitPrefix implements Nameable { /** * Adds {@code other} to this prefix and returns the result. + * @param other prefix to add + * @return sum of prefixes * * @since 2024-03-03 */ @@ -184,6 +187,8 @@ public final class UnitPrefix implements Nameable { /** * Subtracts {@code other} from this prefix and returns the result. + * @param other prefix to subtract + * @return difference of prefixes * * @since 2024-03-03 */ |