[
https://issues.apache.org/jira/browse/OAK-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491660#comment-13491660
]
Michael Dürig commented on OAK-427:
-----------------------------------
This is in effect a workaround for Java's missing support for deconstructing
type hierarchies. The correct way to deal with this is through a visitor for
tree location hierarchies. However, this seems to be quite an overkill here.
Instead I suggest to either leave this as it is or replace it with another
workaround and pollute the {{TreeLocation}} interface with a {{isValid}} method.
> ItemDelegate has dependency to TreeImpl#NullLocation
> ----------------------------------------------------
>
> Key: OAK-427
> URL: https://issues.apache.org/jira/browse/OAK-427
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: angela
> Priority: Minor
>
> The item-delegate has a dependency to NullLocation which is a
> inner class of TreeImpl and as such is an implementation detail.
--
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