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

Remove Utils.unshareString

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.7
    • 1.7.7, 1.8.0
    • mongomk
    • None

    Description

      org.apache.jackrabbit.oak.plugins.document.util.Utils.unshareString creates new String instances unconditionally. Howewer, we can avoid this String creation since we only taarget Java 8 in trunk.

      Attachments

        1. OAK-2710.patch
          2 kB
          Robert Munteanu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: