diff options
author | 2018-02-21 15:24:46 +0100 | |
---|---|---|
committer | 2018-02-22 16:02:32 -0500 | |
commit | 7353bcd8f2b85a50720b7cc7ca04c837c7b1796a (patch) | |
tree | 92a9c90b5852b3aea04da1526b5f81a1ec1b4223 /appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGLoaderActivator.java | |
parent | 78cc8df2d203e32296e15e5564d9f809734c2e26 (diff) |
DGXML classes refactoring
Did some refactor in org.onap.sdnc.dg.loader package in order to reduce code duplication
Change-Id: I5c063487046c7ff72042d067213ea3d639a37227
Issue-ID: APPC-655
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Diffstat (limited to 'appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGLoaderActivator.java')
-rw-r--r-- | appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGLoaderActivator.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGLoaderActivator.java b/appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGLoaderActivator.java index 01f32d244..86bae9887 100644 --- a/appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGLoaderActivator.java +++ b/appc-directed-graph/dg-loader/provider/src/main/java/org/onap/sdnc/dg/loader/DGLoaderActivator.java @@ -24,27 +24,24 @@ package org.onap.sdnc.dg.loader; +import com.att.eelf.configuration.EELFLogger; +import com.att.eelf.configuration.EELFManager; import java.util.LinkedList; import java.util.List; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import org.osgi.framework.ServiceRegistration; -import com.att.eelf.configuration.EELFLogger; -import com.att.eelf.configuration.EELFManager; public class DGLoaderActivator implements BundleActivator { - private List<ServiceRegistration> registrations = new LinkedList<ServiceRegistration>(); + private List<ServiceRegistration> registrations = new LinkedList<>(); private static final EELFLogger log = - EELFManager.getInstance().getLogger(DGLoaderActivator.class); + EELFManager.getInstance().getLogger(DGLoaderActivator.class); @Override public void start(BundleContext ctx) throws Exception { - - - } @Override @@ -53,7 +50,6 @@ public class DGLoaderActivator implements BundleActivator { registration.unregister(); registration = null; } - } } |