Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4900

Clarify javadoc on ResourceResolver.getParentResourceType(String)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • API 2.9.0
    • API 2.11.0
    • None
    • None

    Description

      Currently the javadoc for ResourceResolver.getParentResourceType(String) is very unclear in terms on when to expect null as return value (https://github.com/apache/sling/blob/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceResolver.java#L684).
      This should be clarified.
      Also it is not clear whether the parameter resourceType is searched in the {{ResourceResolver}}s search paths.

      Attachments

        Activity

          People

            kwin Konrad Windszus
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: