[ 
https://issues.apache.org/jira/browse/OAK-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Dürig resolved OAK-161.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.4

Fixed at revision 1357314
                
> Refactor Tree#getChildStatus
> ----------------------------
>
>                 Key: OAK-161
>                 URL: https://issues.apache.org/jira/browse/OAK-161
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: angela
>            Assignee: Michael Dürig
>             Fix For: 0.4
>
>
> as discussed today Tree#getChildStatus is a bit problematic from my point 
> of view as it requires the parent Tree to be always accessible. as discussed 
> and stated multiple times in the past that may not be always the case.
> a part from the drawback it offers once we have access control in place
> it doesn't work for the root node, which doesn't have a parent by definition.
> therefore i would suggest to refactor the method to Tree#getStatus and make it
> an implementation detail if the status is stored with the parent or the tree
> itself.

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