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

svn commit: r1778250 - /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java

Author: cziegeler
Date: Wed Jan 11 07:47:15 2017
New Revision: 1778250

URL: http://svn.apache.org/viewvc?rev=1778250&view=rev
Log:
SLING-6449 : Remove unused Executor service reference

Modified:
    sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java

Modified: sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java?rev=1778250&r1=1778249&r2=1778250&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java (original)
+++ sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java Wed Jan 11 07:47:15 2017
@@ -27,7 +27,6 @@ import java.util.HashSet;
 import java.util.Iterator;
 import java.util.Map;
 import java.util.Set;
-import java.util.concurrent.Executor;
 import java.util.concurrent.atomic.AtomicReference;
 
 import javax.annotation.CheckForNull;
@@ -105,10 +104,6 @@ public class JcrResourceProvider extends
     @Reference
     private PathMapper pathMapper;
 
-    /** This service is only available on OAK, therefore optional and static) */
-    @Reference(policy=ReferencePolicy.STATIC, cardinality=ReferenceCardinality.OPTIONAL)
-    private Executor executor;
-
     /** The JCR listener base configuration. */
     private volatile JcrListenerBaseConfig listenerConfig;
 
@@ -176,14 +171,14 @@ public class JcrResourceProvider extends
     @SuppressWarnings("unused")
     private void bindRepository(final ServiceReference<SlingRepository> ref) {
         this.repositoryReference = ref;
-        this.repository = null; // make sure ...
+        this.repository = null;
     }
 
     @SuppressWarnings("unused")
     private void unbindRepository(final ServiceReference<SlingRepository> ref) {
         if (this.repositoryReference == ref) {
             this.repositoryReference = null;
-            this.repository = null; // make sure ...
+            this.repository = null;
         }
     }