sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r1806545 - in /sling/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine: ResourceBackedPojoChangeMonitor.java extension/use/JavaUseProvider.java
Date Tue, 29 Aug 2017 09:35:09 GMT
Author: radu
Date: Tue Aug 29 09:35:09 2017
New Revision: 1806545

URL: http://svn.apache.org/viewvc?rev=1806545&view=rev
Log:
trivial: removed unused references

Modified:
    sling/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/ResourceBackedPojoChangeMonitor.java
    sling/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/extension/use/JavaUseProvider.java

Modified: sling/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/ResourceBackedPojoChangeMonitor.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/ResourceBackedPojoChangeMonitor.java?rev=1806545&r1=1806544&r2=1806545&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/ResourceBackedPojoChangeMonitor.java
(original)
+++ sling/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/ResourceBackedPojoChangeMonitor.java
Tue Aug 29 09:35:09 2017
@@ -28,7 +28,6 @@ import org.apache.sling.api.resource.obs
 import org.apache.sling.api.resource.observation.ResourceChangeListener;
 import org.apache.sling.scripting.sightly.SightlyException;
 import org.osgi.service.component.annotations.Component;
-import org.osgi.service.component.annotations.Reference;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -46,9 +45,6 @@ public class ResourceBackedPojoChangeMon
 
     private Map<String, Long> slyJavaUseMap = new ConcurrentHashMap<>();
 
-    @Reference
-    private SightlyEngineConfiguration sightlyEngineConfiguration = null;
-
     /**
      * Records the usage of the Use-object available at the provided {@code path}.
      *

Modified: sling/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/extension/use/JavaUseProvider.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/extension/use/JavaUseProvider.java?rev=1806545&r1=1806544&r2=1806545&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/extension/use/JavaUseProvider.java
(original)
+++ sling/trunk/bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/extension/use/JavaUseProvider.java
Tue Aug 29 09:35:09 2017
@@ -29,7 +29,6 @@ import org.apache.sling.api.adapter.Adap
 import org.apache.sling.api.resource.Resource;
 import org.apache.sling.api.scripting.SlingScriptHelper;
 import org.apache.sling.commons.classloader.ClassLoaderWriter;
-import org.apache.sling.scripting.sightly.impl.engine.ResourceBackedPojoChangeMonitor;
 import org.apache.sling.scripting.sightly.impl.engine.SightlyJavaCompilerService;
 import org.apache.sling.scripting.sightly.impl.utils.BindingsUtils;
 import org.apache.sling.scripting.sightly.pojo.Use;
@@ -71,9 +70,6 @@ public class JavaUseProvider implements
     private SightlyJavaCompilerService sightlyJavaCompilerService = null;
 
     @Reference
-    private ResourceBackedPojoChangeMonitor resourceBackedPojoChangeMonitor = null;
-
-    @Reference
     private ClassLoaderWriter classLoaderWriter = null;
 
     @Override



Mime
View raw message