You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2021/08/12 13:10:24 UTC
[sling-org-apache-sling-event] 08/08: remove unused services
(injecting JobManager is sufficient)
This is an automated email from the ASF dual-hosted git repository.
olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-event.git
commit 343c14bb1978cca1111a08c2ef5df634577f355d
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Thu Aug 12 15:07:18 2021 +0200
remove unused services (injecting JobManager is sufficient)
---
src/test/java/org/apache/sling/event/it/JobsTestSupport.java | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/test/java/org/apache/sling/event/it/JobsTestSupport.java b/src/test/java/org/apache/sling/event/it/JobsTestSupport.java
index 9edff88..ef76bde 100644
--- a/src/test/java/org/apache/sling/event/it/JobsTestSupport.java
+++ b/src/test/java/org/apache/sling/event/it/JobsTestSupport.java
@@ -24,14 +24,12 @@ import javax.inject.Inject;
import org.apache.sling.event.impl.jobs.config.JobManagerConfiguration;
import org.apache.sling.event.jobs.JobManager;
-import org.apache.sling.jcr.api.SlingRepository;
import org.apache.sling.testing.paxexam.TestSupport;
import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.options.ModifiableCompositeOption;
import org.ops4j.pax.exam.options.OptionalCompositeOption;
import org.ops4j.pax.exam.options.extra.VMOption;
import org.osgi.framework.BundleContext;
-import org.osgi.service.cm.ConfigurationAdmin;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -48,12 +46,6 @@ import static org.ops4j.pax.exam.cm.ConfigurationAdminOptions.newConfiguration;
public abstract class JobsTestSupport extends TestSupport {
@Inject
- protected SlingRepository slingRepository;
-
- @Inject
- protected ConfigurationAdmin configAdmin;
-
- @Inject
protected BundleContext bundleContext;
@Inject