From 0169e644908c4285536d9d23ab82b0a3a46d9d8b Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Sat, 3 Oct 2020 11:40:17 -0500 Subject: Added the MultiUnit --- src/org/unitConverter/unit/Unitlike.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/org/unitConverter/unit/Unitlike.java') diff --git a/src/org/unitConverter/unit/Unitlike.java b/src/org/unitConverter/unit/Unitlike.java index a6ddb04..8077771 100644 --- a/src/org/unitConverter/unit/Unitlike.java +++ b/src/org/unitConverter/unit/Unitlike.java @@ -102,7 +102,7 @@ public abstract class Unitlike implements Nameable { * @param unitBase * @since 2020-09-07 */ - Unitlike(ObjectProduct unitBase, NameSymbol ns) { + protected Unitlike(ObjectProduct unitBase, NameSymbol ns) { this.unitBase = Objects.requireNonNull(unitBase, "unitBase may not be null"); this.nameSymbol = Objects.requireNonNull(ns, "ns may not be null"); @@ -148,7 +148,7 @@ public abstract class Unitlike implements Nameable { * {@code other.convertFromBase(this.convertToBase(value))}. * Therefore, overriding either of those methods will change the * output of this method. - * + * * @param other unit to convert to * @param value value to convert * @return converted value @@ -175,7 +175,7 @@ public abstract class Unitlike implements Nameable { * {@code other.convertFromBase(this.convertToBase(value))}. * Therefore, overriding either of those methods will change the * output of this method. - * + * * @param other unitlike form to convert to * @param value value to convert * @param type of value to convert to -- cgit v1.2.3