JAL-3032 use Math.min/max not Float.min/max
[jalview.git] / src / jalview / datamodel / features / FeatureAttributes.java
index 10249f3..7acebee 100644 (file)
@@ -110,8 +110,8 @@ public class FeatureAttributes
           try
           {
             float f = Float.valueOf(value);
-            min = hasValue ? Float.min(min, f) : f;
-            max = hasValue ? Float.max(max, f) : f;
+            min = hasValue ? Math.min(min, f) : f;
+            max = hasValue ? Math.max(max, f) : f;
             hasValue = true;
             type = (type == null || type == Datatype.Number)
                     ? Datatype.Number