angela created OAK-888:
--------------------------

             Summary: PathUtils#getDepth returns 1 for empty path
                 Key: OAK-888
                 URL: https://issues.apache.org/jira/browse/OAK-888
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: commons
            Reporter: angela


PathUtils#getDepths that the root path / has depth 0.
however, passing in a empty string is accepted and returns 1.

according to the API contract getDepth is counting the number of elements
in the path which for "" should IMO be zero.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to