[DS-707] Use valueOf instead of Number constructor

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5500 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Graham Triggs
2010-10-20 22:01:15 +00:00
parent c17cbc0029
commit a1d59de77b
16 changed files with 45 additions and 47 deletions

View File

@@ -522,7 +522,7 @@ public final class BitstreamInfoDAO extends DAOSupport
while (rs.next())
{
ids.add(new Integer(rs.getInt(1)));
ids.add(Integer.valueOf(rs.getInt(1)));
}
}
@@ -565,7 +565,7 @@ public final class BitstreamInfoDAO extends DAOSupport
while (rs.next())
{
ids.add(new Integer(rs.getInt(1)));
ids.add(Integer.valueOf(rs.getInt(1)));
}
}
@@ -608,7 +608,7 @@ public final class BitstreamInfoDAO extends DAOSupport
while (rs.next())
{
ids.add(new Integer(rs.getInt(1)));
ids.add(Integer.valueOf(rs.getInt(1)));
}
}