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

svn commit: r1783860 - /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/adapter/AdapterFactory.java

Author: kwin
Date: Tue Feb 21 10:07:54 2017
New Revision: 1783860

URL: http://svn.apache.org/viewvc?rev=1783860&view=rev
Log:
revert 1783858 as all interface fields are implicitly "public static final" (JLS 9.3)

Modified:
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/adapter/AdapterFactory.java

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/adapter/AdapterFactory.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/adapter/AdapterFactory.java?rev=1783860&r1=1783859&r2=1783860&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/adapter/AdapterFactory.java (original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/adapter/AdapterFactory.java Tue Feb 21 10:07:54 2017
@@ -45,7 +45,7 @@ public interface AdapterFactory {
      * The service name to use when registering implementations of this
      * interface as services.
      */
-    final static String SERVICE_NAME = "org.apache.sling.api.adapter.AdapterFactory";
+    String SERVICE_NAME = "org.apache.sling.api.adapter.AdapterFactory";
 
     /**
      * The service registration property listing the fully qualified names of
@@ -54,13 +54,13 @@ public interface AdapterFactory {
      * {@link #getAdapter(Object, Class)} method must be an instance of one of
      * these classes for this factory to be able to adapt the object.
      */
-    final static String ADAPTABLE_CLASSES = "adaptables";
+    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").
      */
-    final static String ADAPTER_CLASSES = "adapters";
+    String ADAPTER_CLASSES = "adapters";
 
     /**
      * Adapt the given object to the adaptable type. The adaptable object is