diff --git a/src/main/java/tec/uom/impl/enums/unit/DimensionlessUnit.java b/src/main/java/tec/uom/impl/enums/unit/DimensionlessUnit.java index a6abc11..0674af2 100644 --- a/src/main/java/tec/uom/impl/enums/unit/DimensionlessUnit.java +++ b/src/main/java/tec/uom/impl/enums/unit/DimensionlessUnit.java @@ -48,7 +48,7 @@ /** * @author Werner Keil - * @version 1.2, $Date: 2016-06-21 $ + * @version 1.3, $Date: 2016-06-30 $ */ public enum DimensionlessUnit implements Unit, DoubleFactorSupplier { @@ -161,8 +161,4 @@ public Unit transform(UnitConverter operation) { public Unit shift(double v) { return this; } - - public Map getProductUnits() { - throw new UnsupportedOperationException("Use getBaseUnits() instead"); - } } diff --git a/src/main/java/tec/uom/impl/enums/unit/DistanceUnit.java b/src/main/java/tec/uom/impl/enums/unit/DistanceUnit.java index 51af973..8915c53 100644 --- a/src/main/java/tec/uom/impl/enums/unit/DistanceUnit.java +++ b/src/main/java/tec/uom/impl/enums/unit/DistanceUnit.java @@ -49,8 +49,7 @@ /** * @author Werner Keil - * @version 1.3.1 ($Revision: 444 $), $Date: 2014-03-18 23:55:19 +0100 (Di, 18 - * Mär 2014) $ + * @version 1.3.2, $Date: 2016-06-30 $ */ public enum DistanceUnit implements Unit, DoubleFactorSupplier, DescriptiveEnum { @@ -177,8 +176,4 @@ public String getDescription() { public DescriptiveEnum[] dValues() { return DistanceUnit.values(); } - - public Map getProductUnits() { - throw new UnsupportedOperationException("Use getBaseUnits() instead"); - } } diff --git a/src/main/java/tec/uom/impl/enums/unit/ShirtSizeUnit.java b/src/main/java/tec/uom/impl/enums/unit/ShirtSizeUnit.java index 9ff1891..e196ab0 100644 --- a/src/main/java/tec/uom/impl/enums/unit/ShirtSizeUnit.java +++ b/src/main/java/tec/uom/impl/enums/unit/ShirtSizeUnit.java @@ -45,7 +45,7 @@ /** * @author Werner Keil - * @version 0.1, $Date: 2014-08-28 $ + * @version 0.2, $Date: 2016-06-30 $ */ public enum ShirtSizeUnit implements Unit, DescriptiveEnum { @@ -165,8 +165,4 @@ public String getDescription() { public DescriptiveEnum[] dValues() { return ShirtSizeUnit.values(); } - - public Map getProductUnits() { - throw new UnsupportedOperationException("Use getBaseUnits() instead"); - } } diff --git a/src/main/java/tec/uom/impl/enums/unit/TemperatureUnit.java b/src/main/java/tec/uom/impl/enums/unit/TemperatureUnit.java index d257e48..1c32ea8 100644 --- a/src/main/java/tec/uom/impl/enums/unit/TemperatureUnit.java +++ b/src/main/java/tec/uom/impl/enums/unit/TemperatureUnit.java @@ -49,7 +49,7 @@ /** * @author Werner Keil - * @version 0.4.1, $Date: 2014-12-20 $ + * @version 0.5, $Date: 2016-06-30 $ */ public enum TemperatureUnit implements Unit, DoubleFactorSupplier, DescriptionSupplier { @@ -237,8 +237,4 @@ public Unit shift(double v) { public String getDescription() { return description; } - - public Map getProductUnits() { - throw new UnsupportedOperationException("Use getBaseUnits() instead"); - } } \ No newline at end of file diff --git a/src/main/java/tec/uom/impl/enums/unit/TimeUnit.java b/src/main/java/tec/uom/impl/enums/unit/TimeUnit.java index f0f2d9b..6daca5a 100644 --- a/src/main/java/tec/uom/impl/enums/unit/TimeUnit.java +++ b/src/main/java/tec/uom/impl/enums/unit/TimeUnit.java @@ -45,8 +45,7 @@ /** * @author Werner Keil - * @version 1.2 ($Revision: 444 $), $Date: 2014-03-18 23:55:19 +0100 (Di, 18 Mär - * 2014) $ + * @version 1.3, $Date: 2016-06-30 $ */ public enum TimeUnit implements Unit