From: gmungoc Date: Fri, 6 Jul 2018 08:39:49 +0000 (+0100) Subject: JAL-3032 use Math.min/max not Float.min/max X-Git-Tag: Release_2_11_4_0~45^2~18^2~575 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=53cc3d8ada4a614d3d5b45c6a6d5c5b7edd709a4;p=jalview.git JAL-3032 use Math.min/max not Float.min/max --- diff --git a/src/jalview/datamodel/features/FeatureAttributes.java b/src/jalview/datamodel/features/FeatureAttributes.java index 10249f3..7acebee 100644 --- a/src/jalview/datamodel/features/FeatureAttributes.java +++ b/src/jalview/datamodel/features/FeatureAttributes.java @@ -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