non-1.4 factory construtors removed.
authorjprocter <jprocter@compbio.dundee.ac.uk>
Mon, 12 Feb 2007 14:33:21 +0000 (14:33 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Mon, 12 Feb 2007 14:33:21 +0000 (14:33 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@345 be28352e-c001-0410-b1a7-c7978e42abec

src/uk/ac/vamsas/test/simpleclient/simpleapp/VamsasDatastore.java

index 7d74186..3f82af2 100644 (file)
@@ -276,7 +276,7 @@ public class VamsasDatastore {
           se = getSegRange(dseta.getSeg(s), false);\r
           int se_end=se[1-se[2]]+(se[2]==0 ? 1 : -1);\r
           for (int p=se[se[2]]; p!=se_end; p+=se[2]==0 ? 1 : -1 ) {\r
-            posList.add(Integer.valueOf(p));\r
+            posList.add(new Integer(p));\r
           }\r
         }\r
       } \r
@@ -287,7 +287,7 @@ public class VamsasDatastore {
         for (int p = 0, pSize = dseta.getPosCount(); p < pSize; p++)\r
         {\r
           pos = dseta.getPos(p).getI();\r
-          posList.add(Integer.valueOf(pos));\r
+          posList.add(new Integer(pos));\r
         }\r
       }\r
     }\r