JAL-3210 Improvements to eclipse detection. New src tree and SwingJS updated from...
[jalview.git] / src / jalview / io / JPredFile.java
index 6af92b7..e375df7 100755 (executable)
@@ -209,7 +209,7 @@ public class JPredFile extends AlignFile
           {
             ascore = symbols.nextToken();
 
-            Float score = Float.valueOf(ascore);
+            Float score = new Float(ascore);
             scores.addElement(score);
           }
 
@@ -285,7 +285,7 @@ public class JPredFile extends AlignFile
 
           seq_entries.addElement(newseq.toString());
           ids.addElement(id);
-          Symscores.put(id, Integer.valueOf(ids.size() - 1));
+          Symscores.put(id, new Integer(ids.size() - 1));
         }
       }
     }