diff options
Diffstat (limited to 'appc-metric/appc-metric-bundle/src/main')
-rw-r--r-- | appc-metric/appc-metric-bundle/src/main/java/org/onap/appc/MetricActivator.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/appc-metric/appc-metric-bundle/src/main/java/org/onap/appc/MetricActivator.java b/appc-metric/appc-metric-bundle/src/main/java/org/onap/appc/MetricActivator.java index 4d3c4e4ac..37ccac597 100644 --- a/appc-metric/appc-metric-bundle/src/main/java/org/onap/appc/MetricActivator.java +++ b/appc-metric/appc-metric-bundle/src/main/java/org/onap/appc/MetricActivator.java @@ -25,13 +25,12 @@ package org.onap.appc; -import org.onap.appc.metricservice.MetricService; -import org.onap.appc.metricservice.impl.MetricServiceImpl; import com.att.eelf.configuration.EELFLogger; import com.att.eelf.configuration.EELFManager; +import org.onap.appc.metricservice.MetricService; +import org.onap.appc.metricservice.impl.MetricServiceImpl; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; -import org.osgi.framework.ServiceRegistration; public class MetricActivator implements BundleActivator { @@ -44,7 +43,7 @@ public class MetricActivator implements BundleActivator { MetricService impl = new MetricServiceImpl(); String regName = MetricService.class.getName(); logger.debug("Registering Metric service " + regName); - ServiceRegistration registration = bundleContext.registerService(regName, impl, null); + bundleContext.registerService(regName, impl, null); logger.debug("Registered Metric service " + regName); } |