Преглед изворни кода

Make compile Java 1.4 compatible (no autoboxing).

Ben Alex пре 17 година
родитељ
комит
f5a464bc39

+ 1 - 1
acl/src/main/java/org/springframework/security/acls/jdbc/JdbcAclService.java

@@ -81,7 +81,7 @@ public class JdbcAclService implements AclService {
                     public Object mapRow(ResultSet rs, int rowNum)
                         throws SQLException {
                         String javaType = rs.getString("class");
-                        Long identifier = rs.getLong("obj_id");
+                        Long identifier = new Long(rs.getLong("obj_id"));
 
                         return new ObjectIdentityImpl(javaType, identifier);
                     }