JAL-4343 fix insufficient-caffeine error - add whats new for 2.11.3.1
[jalview.git] / src / jalview / datamodel / features / FeatureAttributes.java
index c15650d..d274511 100644 (file)
@@ -130,8 +130,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
@@ -153,7 +153,9 @@ public class FeatureAttributes
     }
 
     /**
-     * Answers the description of the attribute, if recorded and unique, or null if either no, or more than description is recorded
+     * Answers the description of the attribute, if recorded and unique, or null
+     * if either no, or more than description is recorded
+     * 
      * @return
      */
     public String getDescription()
@@ -354,7 +356,7 @@ public class FeatureAttributes
     {
       return;
     }
-  
+
     Map<String[], AttributeData> atts = attributes.get(featureType);
     if (atts == null)
     {