[ 
https://issues.apache.org/jira/browse/SLING-4553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Munteanu resolved SLING-4553.
------------------------------------
    Resolution: Fixed

Fixed in https://svn.apache.org/r1670019

> 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)

Reply via email to