SLING-6539 turn fields in AdapterFactory into real constants
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1783858 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/sling/api/adapter/AdapterFactory.java b/src/main/java/org/apache/sling/api/adapter/AdapterFactory.java
index 135cd00..581947a 100644
--- a/src/main/java/org/apache/sling/api/adapter/AdapterFactory.java
+++ b/src/main/java/org/apache/sling/api/adapter/AdapterFactory.java
@@ -45,7 +45,7 @@
* The service name to use when registering implementations of this
* interface as services.
*/
- String SERVICE_NAME = "org.apache.sling.api.adapter.AdapterFactory";
+ final static String SERVICE_NAME = "org.apache.sling.api.adapter.AdapterFactory";
/**
* The service registration property listing the fully qualified names of
@@ -54,13 +54,13 @@
* {@link #getAdapter(Object, Class)} method must be an instance of one of
* these classes for this factory to be able to adapt the object.
*/
- String ADAPTABLE_CLASSES = "adaptables";
+ final static String ADAPTABLE_CLASSES = "adaptables";
/**
* The service registration property listing the fully qualified names of
* classes to which this factory can adapt adaptables (value is "adapters").
*/
- String ADAPTER_CLASSES = "adapters";
+ final static String ADAPTER_CLASSES = "adapters";
/**
* Adapt the given object to the adaptable type. The adaptable object is