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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2017/10/13 09:00:27 UTC

[jira] [Closed] (OAK-6731) Remove implementation dependencies in non-factory classes

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