This is an automated email from the ASF dual-hosted git repository. kwin pushed a commit to branch bugfix/clarify-exposing-resource-type-as-property in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-api.git
commit 9e7094c9e14b1e1ad67adbec0d1ddbd17f7ddfab Author: Konrad Windszus <[email protected]> AuthorDate: Wed Sep 24 15:59:18 2025 +0200 SLING-12781 Clarify that not all resource providers necessarily expose the resource type as property --- src/main/java/org/apache/sling/api/resource/Resource.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/apache/sling/api/resource/Resource.java b/src/main/java/org/apache/sling/api/resource/Resource.java index c15fcbf..d2b6308 100644 --- a/src/main/java/org/apache/sling/api/resource/Resource.java +++ b/src/main/java/org/apache/sling/api/resource/Resource.java @@ -222,7 +222,6 @@ public interface Resource extends Adaptable { /** * Returns a value map for this resource. * The value map allows to read the properties of the resource. - * Each map is containing at least the mandatory property {@value ResourceResolver#PROPERTY_RESOURCE_TYPE}. * @return A value map * @since 2.5 (Sling API Bundle 2.7.0) */
