You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:24:10 UTC

[sling-org-apache-sling-urlrewriter] 02/10: SLING-3518 remove default name, don't use properties for label and description

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

rombert pushed a commit to annotated tag org.apache.sling.urlrewriter-0.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git

commit 750c79260f43f8dab6d35cfff9a3004135883d28
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Jun 17 04:25:34 2014 +0000

    SLING-3518 remove default name, don't use properties for label and description
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/urlrewriter@1603053 13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java     | 5 ++---
 src/main/resources/OSGI-INF/metatype/metatype.properties             | 2 --
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java b/src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java
index 6a476ad..1901a48 100644
--- a/src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java
+++ b/src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java
@@ -56,9 +56,8 @@ import org.w3c.dom.Document;
 import org.xml.sax.helpers.DefaultHandler;
 
 @Component(
-    name = "org.apache.sling.urlrewriter.SlingUrlRewriteFilter",
-    label = "%org.apache.sling.urlrewriter.label",
-    description = "%org.apache.sling.urlrewriter.description",
+    label = "Apache Sling URL Rewriter",
+    description = "multi-purpose service for altering HTTP requests/responses based on Tuckey's UrlRewriteFilter",
     immediate = true,
     metatype = true
 )
diff --git a/src/main/resources/OSGI-INF/metatype/metatype.properties b/src/main/resources/OSGI-INF/metatype/metatype.properties
index 38be239..91ef40c 100644
--- a/src/main/resources/OSGI-INF/metatype/metatype.properties
+++ b/src/main/resources/OSGI-INF/metatype/metatype.properties
@@ -23,7 +23,5 @@ service.ranking.description = service property for identifying the service's ran
 sling.filter.scope.name = filter scopes
 sling.filter.scope.description = see http://sling.apache.org/documentation/the-sling-engine/filters.html
 
-org.apache.sling.urlrewriter.label = Apache Sling URL Rewriter
-org.apache.sling.urlrewriter.description = multi-purpose service for altering HTTP requests/responses based on Tuckey's UrlRewriteFilter
 org.apache.sling.urlrewriter.rewrite.rules.name = rewrite rules (urlrewrite.xml)
 org.apache.sling.urlrewriter.rewrite.rules.description = see http://urlrewritefilter.googlecode.com/svn/trunk/src/doc/manual/4.0/index.html#configuration

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.