jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] Commented: (JCR-1526) Various improvment to Path and PathImpl
Date Thu, 10 Apr 2008 12:54:08 GMT

    [ https://issues.apache.org/jira/browse/JCR-1526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587624#action_12587624
] 

Michael Dürig commented on JCR-1526:
------------------------------------

The path factory does not allow to construct such a paths at all:

/.. throws java.lang.IllegalArgumentException: Invalid path: Too many parent elements.

{}/{} throws java.lang.IllegalArgumentException: Invalid path: The root element may only occur
at the beginning.






> Various improvment to Path and PathImpl
> ---------------------------------------
>
>                 Key: JCR-1526
>                 URL: https://issues.apache.org/jira/browse/JCR-1526
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-spi, jackrabbit-spi-commons
>            Reporter: Michael Dürig
>         Attachments: JCR-1526.patch
>
>
> There are various issues with Path and PathImpl which the following patch addresses:
> - Fixed problem with normalization of some paths in PathImpl. 
> - Fixed handling of relative paths in PathImpl. 
> - Fixed wrong return value for depth and ancestor count in PathImpl. 
> - Added method for determining equivalence of paths in PathImpl.
> - Fixed subPath method in PathImpl. 
> - Clarified blurry contract for Path.
> - Added many new test cases
> For many of the fixes credits are due to Angela.

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


Mime
View raw message