This is an automated email from the ASF dual-hosted git repository.
bdelacretaz pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-capabilities.git
The following commit(s) were added to refs/heads/master by this push:
new 6e94ef8 comments
6e94ef8 is described below
commit 6e94ef82d15f7a8d65971a357e61a111c1837099
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Wed Oct 10 16:00:45 2018 +0200
comments
---
.../sling/capabilities/defaultsources/SlingServletsSource.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/sling/capabilities/defaultsources/SlingServletsSource.java
b/src/main/java/org/apache/sling/capabilities/defaultsources/SlingServletsSource.java
index 9e00636..ce63bc6 100644
---
a/src/main/java/org/apache/sling/capabilities/defaultsources/SlingServletsSource.java
+++
b/src/main/java/org/apache/sling/capabilities/defaultsources/SlingServletsSource.java
@@ -23,7 +23,6 @@ import java.util.Map;
import javax.servlet.Servlet;
import org.apache.sling.capabilities.CapabilitiesSource;
import org.osgi.framework.BundleContext;
-import org.osgi.framework.Constants;
import org.osgi.framework.ServiceReference;
import org.osgi.service.component.ComponentContext;
import org.osgi.service.component.annotations.Activate;
@@ -32,6 +31,10 @@ import
org.osgi.service.metatype.annotations.AttributeDefinition;
import org.osgi.service.metatype.annotations.Designate;
import org.osgi.service.metatype.annotations.ObjectClassDefinition;
+/** Default CapabilitiesSource that provides information on available Sling
+ * Servlets, exposing their sling.servlet.* properties so that clients can
+ * find out which behaviors are available.
+ */
@Component(service = CapabilitiesSource.class)
@Designate(
ocd = SlingServletsSource.Config.class,