JAL-3130 Some automatically fixed deprecated calls. Mostly constructors converted...
[jalview.git] / src / jalview / io / FeaturesFile.java
index 169da5a..8d1b4b2 100755 (executable)
@@ -440,7 +440,7 @@ public class FeaturesFile extends AlignFile implements FeaturesSourceI
       float score = Float.NaN;
       try
       {
-        score = new Float(gffColumns[6]).floatValue();
+        score = Float.valueOf(gffColumns[6]).floatValue();
       } catch (NumberFormatException ex)
       {
         sf = new SequenceFeature(ft, desc, startPos, endPos, featureGroup);