Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-160 Make oak interfaces permission aware
  3. OAK-192

Define behavior of Tree#getParent() if the parent is not accessible

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.4
    • core
    • None

    Description

      currently the Tree interface defines the following behavior for the
      getParent() method:

      "the parent of this

      {@code Tree}

      instance or

      {@code null}

      for the root."

      the java doc should in addition define the behavior for cases where the
      parent is not accessible. will it return null or throw an exception?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: