Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
scr annotations 1.9.2
-
None
Description
FELIX-4033 introduced build-time warning messages for private properties defined for components with metatype = false.
The @SlingServlet and @SlingFilter annotations set several properties to be private, thus causing warnings like the following to be reported if metatype = false (the default value).
[WARNING] /path/TheServlet.java [0:0]: Property sling.servlet.methods in class TheServlet is set as private. This is redundant as no metatype will be generated.