[
https://issues.apache.org/jira/browse/SLING-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus resolved SLING-4900.
------------------------------------
Resolution: Fixed
Fix Version/s: API 2.10.0
> Clarify javadoc on ResourceResolver.getParentResourceType(String)
> -----------------------------------------------------------------
>
> Key: SLING-4900
> URL: https://issues.apache.org/jira/browse/SLING-4900
> Project: Sling
> Issue Type: Improvement
> Affects Versions: API 2.9.0
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Fix For: API 2.10.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)