jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Created] (OAK-166) Add Tree.isRoot() method instead of relying on Tree.getParent() == null
Date Wed, 04 Jul 2012 14:05:34 GMT
Michael Dürig created OAK-166:
---------------------------------

             Summary: Add Tree.isRoot() method instead of relying on Tree.getParent() == null
                 Key: OAK-166
                 URL: https://issues.apache.org/jira/browse/OAK-166
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
            Reporter: Michael Dürig
            Assignee: Michael Dürig


Access to through the parent node is problematic wrt. to access control. So instead of relying
on {{Tree.getParent() == null}} to check for root, we should rather have a method {{Tree.isRoot()}}.

--
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