Removed accidentally committed JDK 1.5 methods (Integer.valueOf()).
This commit is contained in:
parent
a4a7813ddb
commit
afded24b62
|
@ -521,7 +521,7 @@ public class JdbcUserDetailsManager extends JdbcDaoImpl implements UserDetailsMa
|
||||||
}
|
}
|
||||||
|
|
||||||
protected Object mapRow(ResultSet rs, int rowNum) throws SQLException {
|
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();
|
String scheme = request.getScheme().toLowerCase();
|
||||||
|
|
||||||
if ("http".equals(scheme)) {
|
if ("http".equals(scheme)) {
|
||||||
portLookup = portMapper.lookupHttpPort(Integer.valueOf(serverPort));
|
portLookup = portMapper.lookupHttpPort(new Integer(serverPort));
|
||||||
|
|
||||||
} else if ("https".equals(scheme)) {
|
} else if ("https".equals(scheme)) {
|
||||||
portLookup = portMapper.lookupHttpsPort(Integer.valueOf(serverPort));
|
portLookup = portMapper.lookupHttpsPort(new Integer(serverPort));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (portLookup != null) {
|
if (portLookup != null) {
|
||||||
|
|
Loading…
Reference in New Issue