From ceda0a11dbde684306f712a151414ff6230eb8ef Mon Sep 17 00:00:00 2001 From: jprocter Date: Mon, 12 Feb 2007 14:33:21 +0000 Subject: [PATCH] non-1.4 factory construtors removed. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uk/ac/vamsas/test/simpleclient/simpleapp/VamsasDatastore.java b/src/uk/ac/vamsas/test/simpleclient/simpleapp/VamsasDatastore.java index 7d74186..3f82af2 100644 --- a/src/uk/ac/vamsas/test/simpleclient/simpleapp/VamsasDatastore.java +++ b/src/uk/ac/vamsas/test/simpleclient/simpleapp/VamsasDatastore.java @@ -276,7 +276,7 @@ public class VamsasDatastore { se = getSegRange(dseta.getSeg(s), false); int se_end=se[1-se[2]]+(se[2]==0 ? 1 : -1); for (int p=se[se[2]]; p!=se_end; p+=se[2]==0 ? 1 : -1 ) { - posList.add(Integer.valueOf(p)); + posList.add(new Integer(p)); } } } @@ -287,7 +287,7 @@ public class VamsasDatastore { for (int p = 0, pSize = dseta.getPosCount(); p < pSize; p++) { pos = dseta.getPos(p).getI(); - posList.add(Integer.valueOf(pos)); + posList.add(new Integer(pos)); } } } -- 1.7.10.2