[
https://issues.apache.org/jira/browse/OAK-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dürig resolved OAK-3045.
--------------------------------
Resolution: Fixed
Assignee: Michael Dürig
Fix Version/s: 1.3.3
Fixed at http://svn.apache.org/r1688224
Thanks for spotting this!
> Incorrect assertion message in PathUtils#isAncestor()
> -----------------------------------------------------
>
> Key: OAK-3045
> URL: https://issues.apache.org/jira/browse/OAK-3045
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: commons
> Affects Versions: 1.3.1
> Reporter: Julian Sedding
> Assignee: Michael Dürig
> Priority: Trivial
> Fix For: 1.3.3
>
>
> In {{PathUtils#isAncestor()}} there is a copy& paste error:
> {code:java}
> assert isValid(ancestor) : "Invalid parent path ["+ancestor+"]";
> assert isValid(path) : "Invalid path ["+ancestor+"]";
> {code}
> The second line should be:
> {code:java}
> assert isValid(path) : "Invalid path ["+path+"]";
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)