Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6319 Review API and Utilities in oak.plugins.tree package
  3. OAK-6731

Remove implementation dependencies in non-factory classes

    XMLWordPrintableJSON

Details

    • Technical task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.9, 1.8.0
    • core
    • None

    Description

      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.

      Attachments

        Activity

          People

            angela Angela Schreiber
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: