Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2694

Avoid unneeded unboxing in PropertiesUtil

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.7
    • 1.1.8
    • commons
    • None

    Description

      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 )

      Attachments

        Activity

          People

            chetanm Chetan Mehrotra
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: