angela created OAK-229:
--------------------------

             Summary: Review root-node shortcut in NamePathMapperImpl
                 Key: OAK-229
                 URL: https://issues.apache.org/jira/browse/OAK-229
             Project: Jackrabbit Oak
          Issue Type: Sub-task
            Reporter: angela


NamePathMapperImpl#getOakPath(String jcrPath) contains the following shortcut:

     if ("/".equals(jcrPath)) { 
        // avoid the need to special case the root path later on return "/"; 
     }

if oak-paths are defined to contain no leading / (such as Tree#getPath does)
i think this shortcut is inconsistent or maybe even wrong.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to