You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2017/09/07 12:58:00 UTC
[jira] [Resolved] (OAK-2710) Remove Utils.unshareString
[ 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)