JAL-3210 Improvements to eclipse detection. New src tree and SwingJS updated from...
[jalview.git] / src / jalview / datamodel / ColumnSelection.java
index 6f14e21..3ccaab8 100644 (file)
@@ -106,7 +106,7 @@ public class ColumnSelection
     void remove(int col)
     {
 
-      Integer colInt = Integer.valueOf(col);
+      Integer colInt = new Integer(col);
 
       if (selected.get(col))
       {
@@ -204,7 +204,7 @@ public class ColumnSelection
           // clear shifted bits and update List of selected columns
           selected.clear(temp);
           mask.set(temp - change);
-          order.set(i, Integer.valueOf(temp - change));
+          order.set(i, new Integer(temp - change));
         }
       }
       // lastly update the bitfield all at once
@@ -309,7 +309,7 @@ public class ColumnSelection
     Integer colInt;
     for (int i = start; i < end; i++)
     {
-      colInt = Integer.valueOf(i);
+      colInt = new Integer(i);
       if (selection.contains(colInt))
       {
         selection.remove(colInt);