[
https://issues.apache.org/jira/browse/OAK-6731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davide Giannella closed OAK-6731.
---------------------------------
Bulk close for 1.7.9
> Remove implementation dependencies in non-factory classes
> ---------------------------------------------------------
>
> Key: OAK-6731
> URL: https://issues.apache.org/jira/browse/OAK-6731
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: core
> Reporter: angela
> Assignee: angela
> Fix For: 1.7.9
>
>
> {{TreeUtil}} and {{TreeTypeProvider}} rely on implementation details, which
> prevents us from refactoring the plugins.tree package out of oak-core.
> Also moving {{TreeConstants}} one level up would reduce the dependency to
> impl package throughout the code base.
> For the former issue [~stillalex] suggested to introduce a {{TreeTypeAware}}
> interface that defines the getter and setter for {{TreeType}}. Additionally I
> would suggest to introduce a marker interface {{ReadOnly}} to be able to
> detect if a {{Tree}} or {{Root}} only supports read operations.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)