Removed accidentally committed JDK 1.5 methods (Integer.valueOf()).
This commit is contained in:
+1
-1
@@ -521,7 +521,7 @@ public class JdbcUserDetailsManager extends JdbcDaoImpl implements UserDetailsMa
|
||||
}
|
||||
|
||||
protected Object mapRow(ResultSet rs, int rowNum) throws SQLException {
|
||||
return Integer.valueOf(rs.getInt(1));
|
||||
return new Integer(rs.getInt(1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -51,10 +51,10 @@ public class PortResolverImpl implements PortResolver {
|
||||
String scheme = request.getScheme().toLowerCase();
|
||||
|
||||
if ("http".equals(scheme)) {
|
||||
portLookup = portMapper.lookupHttpPort(Integer.valueOf(serverPort));
|
||||
portLookup = portMapper.lookupHttpPort(new Integer(serverPort));
|
||||
|
||||
} else if ("https".equals(scheme)) {
|
||||
portLookup = portMapper.lookupHttpsPort(Integer.valueOf(serverPort));
|
||||
portLookup = portMapper.lookupHttpsPort(new Integer(serverPort));
|
||||
}
|
||||
|
||||
if (portLookup != null) {
|
||||
|
||||
Reference in New Issue
Block a user