jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-2694) Avoid unneeded unboxing in PropertiesUtil
Date Mon, 30 Mar 2015 08:48:53 GMT
Robert Munteanu created OAK-2694:

             Summary: Avoid unneeded unboxing in PropertiesUtil
                 Key: OAK-2694
                 URL: https://issues.apache.org/jira/browse/OAK-2694
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: commons
    Affects Versions: 1.1.7
            Reporter: Robert Munteanu
            Priority: Minor

PropertiesUtil use the {{valueOf}} method to convert from String to int/long/boolean. Using
the {{parseXXX}} variant means that no object creation + unboxing happens. ( Boolean is a
special case, but that should be avoided anyway )

This message was sent by Atlassian JIRA

View raw message