SLING-3518 remove default name, don't use properties for label and description
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1603053 13f79535-47bb-0310-9956-ffa450edef68
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.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 @@
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