Robert Munteanu created SLING-4553:
--------------------------------------
Summary: Avoid unneeded unboxing in PropertiesUtil
Key: SLING-4553
URL: https://issues.apache.org/jira/browse/SLING-4553
Project: Sling
Issue Type: Bug
Components: Commons
Affects Versions: Commons OSGi 2.2.2
Reporter: Robert Munteanu
Assignee: Robert Munteanu
Priority: Minor
Fix For: Commons OSGi 2.3.0
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
(v6.3.4#6332)