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 2022/07/28 13:47:35 UTC

[sling-org-apache-sling-installer-hc] branch master updated: remove unused ConfigurationAdmin reference

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-installer-hc.git


The following commit(s) were added to refs/heads/master by this push:
     new 2033858  remove unused ConfigurationAdmin reference
2033858 is described below

commit 20338586433bfad6aff4bab3e1b013c324bc1821
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Thu Jul 28 15:45:17 2022 +0200

    remove unused ConfigurationAdmin reference
---
 .../java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java  | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/main/java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java b/src/main/java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java
index 0baf551..dd1f8d4 100644
--- a/src/main/java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java
+++ b/src/main/java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java
@@ -33,7 +33,6 @@ import org.apache.sling.installer.api.info.InstallationState;
 import org.apache.sling.installer.api.info.Resource;
 import org.apache.sling.installer.api.info.ResourceGroup;
 import org.osgi.framework.Version;
-import org.osgi.service.cm.ConfigurationAdmin;
 import org.osgi.service.component.annotations.Activate;
 import org.osgi.service.component.annotations.Component;
 import org.osgi.service.component.annotations.Modified;
@@ -63,9 +62,6 @@ public class OsgiInstallerHealthCheck implements HealthCheck {
     
     private static final String DOCUMENTATION_URL = "https://sling.apache.org/documentation/bundles/osgi-installer.html#health-check";
 
-    @Reference
-    private ConfigurationAdmin configurationAdmin;
-    
     @Activate
     @Modified
     protected void configure(OsgiInstallerHealthCheckConfiguration configuration) {