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

Marcel Reutegger commented on JCR-1273:
---------------------------------------

In the long run I think we should move the Value stuff to spi-commons as well, 
this would allow NameValue to operate on Name.

> 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
>
> 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.

Reply via email to