diff options
Diffstat (limited to 'libjava/classpath/java/security/Security.java')
-rw-r--r-- | libjava/classpath/java/security/Security.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/classpath/java/security/Security.java b/libjava/classpath/java/security/Security.java index d3d2c1ebcf9..6b7b66428ec 100644 --- a/libjava/classpath/java/security/Security.java +++ b/libjava/classpath/java/security/Security.java @@ -702,7 +702,7 @@ public final class Security return true; // assume value is a number. cehck for greater-than-or-equal - return (new Integer(val).intValue() >= new Integer(realVal).intValue()); + return (Integer.parseInt(val) >= Integer.parseInt(realVal)); } } |