This is an automated email from the ASF dual-hosted git repository. joerghoh pushed a commit to branch SLING-13425 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-api.git
commit 2594580badd133b4fd3423a286b95b0d309e23bf Author: Joerg Hoh <[email protected]> AuthorDate: Thu Nov 12 15:21:11 2026 +0100 SLING-13425 improve javadoc --- src/main/java/org/apache/sling/api/resource/ResourceUtil.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/apache/sling/api/resource/ResourceUtil.java b/src/main/java/org/apache/sling/api/resource/ResourceUtil.java index e3355cf..374e2f3 100644 --- a/src/main/java/org/apache/sling/api/resource/ResourceUtil.java +++ b/src/main/java/org/apache/sling/api/resource/ResourceUtil.java @@ -474,6 +474,9 @@ public class ResourceUtil { * {@link org.apache.sling.api.resource.Resource#getResourceType()} as a * relative path. * + * If the {code type} is absolute (starts with a '/'), the result is also an + * absolute path. + * The result is not normalized and not checked against path restrictions. * @param type The resource type to be converted into a path * @return The resource type as a path. * @since 2.0.6 (Sling API Bundle 2.0.6)
