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