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 2017/09/27 11:57:00 UTC

[jira] [Assigned] (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 ]

angela reassigned OAK-6731:
---------------------------

    Assignee: angela

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