raducotescu commented on a change in pull request #2: SLING-8170 - Allow Sling 
servlets to declare a resource super type
URL: 
https://github.com/apache/sling-org-apache-sling-servlets-annotations/pull/2#discussion_r241391599
 
 

 ##########
 File path: 
src/main/java/org/apache/sling/servlets/annotations/SlingServletResourceTypes.java
 ##########
 @@ -43,18 +43,26 @@
      * @return the resource type(s)
      */
     String[] resourceTypes();
-    
+
+    /**
+     * The resource super type from which the servlet inherits (value is 
"sling.servlet.resourceSuperType").
+     *
+     * @return the resource super type
 
 Review comment:
   Yes, I was just doing this for the "Servlets and Scripts" site page and was 
thinking that it would be worth adding this info here too. :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to