Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
API 2.21.0
-
None
-
None
Description
currently, the getResourceType() method of the Resource interface is marked as @NotNull in the API.
imho this is wrong:
- it is not mandatory that every resource has a resource type
- the JCR resource provider uses the JCR primary type as "fallback" value when no resource type is defined as property, but this is not necessary the case for other resource providers or synthetic resources
Attachments
Issue Links
- links to