jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r1569888 - /jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/DefaultMetaInf.java
Date Wed, 19 Feb 2014 19:54:31 GMT
Author: tripod
Date: Wed Feb 19 19:54:30 2014
New Revision: 1569888

URL: http://svn.apache.org/r1569888
Log:
@trivial wrong method to parse an integer

Modified:
    jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/DefaultMetaInf.java

Modified: jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/DefaultMetaInf.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/DefaultMetaInf.java?rev=1569888&r1=1569887&r2=1569888&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/DefaultMetaInf.java
(original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/config/DefaultMetaInf.java
Wed Feb 19 19:54:30 2014
@@ -80,7 +80,7 @@ public class DefaultMetaInf implements M
                 : properties.getProperty(PACKAGE_FORMAT_VERSION);
         if (prop != null) {
             try {
-                return Integer.getInteger(prop);
+                return Integer.parseInt(prop);
             } catch (Exception e) {
                 // ignore
             }



Mime
View raw message