diff options
author | Driptaroop Das <driptaroop.das@in.ibm.com> | 2019-03-07 01:19:14 +0530 |
---|---|---|
committer | Patrick Brady <patrick.brady@att.com> | 2019-03-13 22:34:05 +0000 |
commit | b3e8189197dda8dfc40fb64abdf9077adadf2242 (patch) | |
tree | 2ac00cda26ad711604f04270f9ae73e6e31e4c0b /appc-metric/appc-metric-bundle/src | |
parent | a50f4bb4d854fb18eea62dd0601e52886e1c823e (diff) |
Multiple Sonar Fixes
Multiple Sonar Fixes
Issue-ID: APPC-1525
Change-Id: I58b8adc0e53a00c6d3de05c921dafdd3dd9fe118
Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
Diffstat (limited to 'appc-metric/appc-metric-bundle/src')
-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); } |