You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by gh...@apache.org on 2019/02/12 19:16:31 UTC

[sling-site] branch master updated: Fixed syntax typo for @SlingServletResourceTypes example

This is an automated email from the ASF dual-hosted git repository.

ghenzler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
     new a7e14d2  Fixed syntax typo for @SlingServletResourceTypes example
a7e14d2 is described below

commit a7e14d27660cede78d0dc9f38048d5fe34942bd9
Author: georg.henzler <ge...@netcentric.biz>
AuthorDate: Tue Feb 12 11:16:17 2019 -0800

    Fixed syntax typo for @SlingServletResourceTypes example
---
 src/main/jbake/content/documentation/the-sling-engine/servlets.md | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/main/jbake/content/documentation/the-sling-engine/servlets.md b/src/main/jbake/content/documentation/the-sling-engine/servlets.md
index ebad203..4e0d455 100644
--- a/src/main/jbake/content/documentation/the-sling-engine/servlets.md
+++ b/src/main/jbake/content/documentation/the-sling-engine/servlets.md
@@ -78,8 +78,7 @@ The following examples show example code how you can register Servlets with Slin
 1. OSGi DS 1.4 (R7) component property type annotations for Sling Servlets (recommended)
 
         ::java
-        @Component(
-        service = { Servlet.class },
+        @Component(service = { Servlet.class })
         @SlingServletResourceTypes(
             resourceTypes="/apps/my/type", 
             methods= "GET",