diff options
Diffstat (limited to 'src/java/com/jogamp/common')
-rw-r--r-- | src/java/com/jogamp/common/util/PropertyAccess.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/util/PropertyAccess.java b/src/java/com/jogamp/common/util/PropertyAccess.java index 830bfe4..a2e3690 100644 --- a/src/java/com/jogamp/common/util/PropertyAccess.java +++ b/src/java/com/jogamp/common/util/PropertyAccess.java @@ -79,7 +79,7 @@ public class PropertyAccess { try { final String sv = PropertyAccess.getProperty(property, jnlpAlias); if(null!=sv) { - i = Integer.valueOf(sv).intValue(); + i = Integer.parseInt(sv); } } catch (NumberFormatException nfe) {} return i; @@ -91,7 +91,7 @@ public class PropertyAccess { try { final String sv = PropertyAccess.getProperty(property, jnlpAlias); if(null!=sv) { - l = Long.valueOf(sv).longValue(); + l = Long.parseLong(sv); } } catch (NumberFormatException nfe) {} return l; |