You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2013/02/06 10:33:13 UTC

[jira] [Created] (OAK-609) Rename 'root' methods in NodeStore and NodeStoreBranch

angela created OAK-609:
--------------------------

             Summary: Rename 'root' methods in NodeStore and NodeStoreBranch
                 Key: OAK-609
                 URL: https://issues.apache.org/jira/browse/OAK-609
             Project: Jackrabbit Oak
          Issue Type: Wish
            Reporter: angela
            Priority: Minor


Currently we have some naming confusions in NodeStore and
NodeStoreBranch and the various implementations.

both interfaces define methods to access the node state associated with
the root node with are called #getRoot() and in NodeStoreBranch also 
#setRoot() while the corresponding fields are name 'head' or 'root'.

since oak defines a Root interface which doesn't represent the root node state
i would suggest to rename the methods mentioned above to something less confusing for example

- getRootState
- getHead
 



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