You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2015/07/23 12:43:04 UTC
[jira] [Updated] (SLING-4900) Clarify javadoc on
ResourceResolver.getParentResourceType(String)
[ 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)