Merge branch 'develop' into trialMerge
[jalview.git] / src / jalview / ws / jws2 / RNAalifoldClient.java
index 80c9ce9..f9e597f 100644 (file)
@@ -237,7 +237,7 @@ public class RNAalifoldClient extends JabawsCalcWorker
         // The Score objects contain a set of size one containing the range and
         // an ArrayList<float> of size one containing the probabilty
         basePairs.put(score.getRanges().first(),
-                new Float(score.getScores().get(0)));
+                Float.valueOf(score.getScores().get(0)));
       }
 
       for (int i = 0, ri = 0, iEnd = struct.length(); i < iEnd; i++, ri++)