[ 
https://issues.apache.org/jira/browse/SLING-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated SLING-4900:
-----------------------------------
    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.

  was:
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.


> 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: Resource Resolver 1.2.6
>            Reporter: Konrad Windszus
>
> 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)

Reply via email to