jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (OAK-6731) Remove implementation dependencies in non-factory classes
Date Wed, 27 Sep 2017 11:57:00 GMT

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

Mime
View raw message