jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-229) Review root-node shortcut in NamePathMapperImpl
Date Fri, 03 Aug 2012 08:17:02 GMT
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

        

Mime
View raw message