From 53cc3d8ada4a614d3d5b45c6a6d5c5b7edd709a4 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 6 Jul 2018 09:39:49 +0100 Subject: [PATCH] JAL-3032 use Math.min/max not Float.min/max --- src/jalview/datamodel/features/FeatureAttributes.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.10.2