Julian Sedding created OAK-3045:
-----------------------------------
Summary: 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
Priority: Trivial
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)