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

Define behavior of Tree#getProperty(String) in case of lack of access

    XMLWordPrintableJSON

Details

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

    Description

      The javadoc for Tree#getProperty states:

      "the property state with the given

      {@code name}

      or

      {@code null}

      if no such property state exists."

      IMO the javadoc should also deal with the case that property with the
      given name is not accessible.
      was the return value 'null' again? or would the method throw an exception?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: