[ http://issues.apache.org/jira/browse/JCR-680?page=all ]

Jukka Zitting updated JCR-680:
------------------------------

    Attachment: GenericValue.patch

Attached GenericValue.patch, that implements only the State pattern part of the 
proposed change. The patch is against Jackrabbit trunk, since the change 
affects both jackrabbit-core and jackrabbit-jcr-commons.

This patch fixes JCR-320 and notably simplifies the Value classes.

The changes in jackrabbit-core replace direct dependencies to the Value classes 
with use of Session.getValueFactory().createValue().

> Improve the Value implementation
> --------------------------------
>
>                 Key: JCR-680
>                 URL: http://issues.apache.org/jira/browse/JCR-680
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jukka Zitting
>         Assigned To: Jukka Zitting
>            Priority: Minor
>         Attachments: class.jpg, GenericValue.patch, JCR-680.patch
>
>
> The current Value implementation found in jackrabbit-jcr-commons has some 
> deficiencies like Value.equals() being incorrect in some cases (see for 
> example JCR-320), and Name and Path values not following namespace remappings.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to