You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2007/12/14 16:46:43 UTC

[jira] Updated: (JCR-1273) Unnecessary parsing of Name value

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

Marcel Reutegger updated JCR-1273:
----------------------------------

    Attachment: JCR-1273.patch

Proposed change.

> Unnecessary parsing of Name value
> ---------------------------------
>
>                 Key: JCR-1273
>                 URL: https://issues.apache.org/jira/browse/JCR-1273
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core, jackrabbit-jcr-commons
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-1273.patch
>
>
> InternalValue.toJCRValue(NamePathResolver) formats the Name value and constructs a NameValue using the formatted String. The implementation of NameValue.valueOf(String) again checks the format, which is quite expensive and unnecessary in this case.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.