[
https://issues.apache.org/jira/browse/JCR-5161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18003727#comment-18003727
]
Julian Reschke edited comment on JCR-5161 at 7/27/25 10:04 AM:
---------------------------------------------------------------
trunk: (2.23.2-beta)
[62747fa7a|https://github.com/apache/jackrabbit/commit/62747fa7ac458808d1c6aeb235b460ca06b901d4]
2.22:
[52d84116c|https://github.com/apache/jackrabbit/commit/52d84116c8081ea223ea02dad6f25f22458ded7b]
was (Author: reschke):
trunk:
[62747fa7a|https://github.com/apache/jackrabbit/commit/62747fa7ac458808d1c6aeb235b460ca06b901d4]
> NamespaceHelper - get NamespaceRegistry only once
> -------------------------------------------------
>
> Key: JCR-5161
> URL: https://issues.apache.org/jira/browse/JCR-5161
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-jcr-commons
> Reporter: Joerg Hoh
> Assignee: Julian Reschke
> Priority: Major
> Fix For: 2.24, 2.23.2, 2.22.2
>
>
> The method {{NamespaceHelper.registerNamespace()}} always creates a
> NamespaceRegistry on which it acts. If called in a tight loop this creation
> is redundant, so there should be a version of this method, which accepts an
> already existing NamespaceRegistry as parameter.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)