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] [Resolved] (OAK-2710) Remove Utils.unshareString
Date Thu, 07 Sep 2017 12:58:00 GMT

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

Robert Munteanu resolved OAK-2710.
----------------------------------
    Resolution: Fixed

Thanks [~tmueller] for confirming. Removed in [r1807599|https://svn.apache.org/r1807599]

> Remove Utils.unshareString
> --------------------------
>
>                 Key: OAK-2710
>                 URL: https://issues.apache.org/jira/browse/OAK-2710
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: mongomk
>    Affects Versions: 1.1.7
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>            Priority: Minor
>             Fix For: 1.8, 1.7.7
>
>         Attachments: OAK-2710.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message