Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3593

improvements to plugins/tree

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.10, 1.4
    • commons, core
    • None

    Description

      proposed improvements:

      • introduce TreeFactory.createReadOnlyTree(Tree readOnlyParent, String childName, NodeState childState) in order to reduce dependencies to internal ImmutableTree
      • introduce TreeLocation.getName()
      • introduce constants for path and name of the root tree

      furthermore in the implementations:

      • use root-node related constants in ImmutableTree
      • simplify ImmutableTree.isRoot
      • remove redundant checks for null when param is marked nonnull
      • add missing param annotations

      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: