From 5b593496b8f1b8e8be8d7d2dbcc223332e65a49b Mon Sep 17 00:00:00 2001 From: Michael Lando Date: Sun, 29 Jul 2018 16:13:45 +0300 Subject: re base code Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando --- .../onap-configuration-management-cli/pom.xml | 98 +++++++++++----------- .../org/onap/config/cli/app/Configuration.java | 6 +- .../org/onap/config/gui/app/Configuration.java | 32 ++----- 3 files changed, 58 insertions(+), 78 deletions(-) (limited to 'common/onap-common-configuration-management/onap-configuration-management-cli') diff --git a/common/onap-common-configuration-management/onap-configuration-management-cli/pom.xml b/common/onap-common-configuration-management/onap-configuration-management-cli/pom.xml index f242fcc5d9..a6caa37e10 100644 --- a/common/onap-common-configuration-management/onap-configuration-management-cli/pom.xml +++ b/common/onap-common-configuration-management/onap-configuration-management-cli/pom.xml @@ -1,55 +1,57 @@ - - 4.0.0 + + 4.0.0 - org.onap.sdc.common - onap-configuration-management-cli - onap-configuration-management-cli + org.onap.sdc.common + onap-configuration-management-cli + onap-configuration-management-cli - - onap-common-configuration-management - org.onap.sdc.common - 1.2.0-SNAPSHOT - .. - + + onap-common-configuration-management + org.onap.sdc.common + 1.2.0-SNAPSHOT + .. + - - - org.onap.sdc.common - onap-configuration-management-api - ${project.version} - - - tools - tools - 1.8 - true - - + + + org.onap.sdc.common + onap-configuration-management-api + ${project.version} + + + tools + tools + 1.8 + true + + - - - - org.apache.maven.plugins - maven-shade-plugin - 1.5 - - - package - - shade - - - - - org.onap.config.gui.app.Configuration - - - - - - + + + + org.apache.maven.plugins + maven-shade-plugin + 1.5 + + + package + + shade + + + + + org.onap.config.gui.app.Configuration + + + + + + - + diff --git a/common/onap-common-configuration-management/onap-configuration-management-cli/src/main/java/org/onap/config/cli/app/Configuration.java b/common/onap-common-configuration-management/onap-configuration-management-cli/src/main/java/org/onap/config/cli/app/Configuration.java index d1a93f0041..03bd4a02e9 100644 --- a/common/onap-common-configuration-management/onap-configuration-management-cli/src/main/java/org/onap/config/cli/app/Configuration.java +++ b/common/onap-common-configuration-management/onap-configuration-management-cli/src/main/java/org/onap/config/cli/app/Configuration.java @@ -1,17 +1,15 @@ package org.onap.config.cli.app; -import org.onap.config.api.ConfigurationChangeListener; import org.onap.config.api.ConfigurationManager; -import java.util.HashMap; -import java.util.Map; - import javax.management.JMX; import javax.management.MBeanServerConnection; import javax.management.ObjectName; import javax.management.remote.JMXConnector; import javax.management.remote.JMXConnectorFactory; import javax.management.remote.JMXServiceURL; +import java.util.HashMap; +import java.util.Map; /** * The type Configuration. diff --git a/common/onap-common-configuration-management/onap-configuration-management-cli/src/main/java/org/onap/config/gui/app/Configuration.java b/common/onap-common-configuration-management/onap-configuration-management-cli/src/main/java/org/onap/config/gui/app/Configuration.java index fa7cf5b77a..f51d04b68c 100644 --- a/common/onap-common-configuration-management/onap-configuration-management-cli/src/main/java/org/onap/config/gui/app/Configuration.java +++ b/common/onap-common-configuration-management/onap-configuration-management-cli/src/main/java/org/onap/config/gui/app/Configuration.java @@ -5,26 +5,12 @@ import com.sun.tools.attach.VirtualMachine; import com.sun.tools.attach.VirtualMachineDescriptor; import org.onap.config.api.ConfigurationManager; -import java.awt.BorderLayout; -import java.awt.Button; -import java.awt.CardLayout; -import java.awt.Checkbox; -import java.awt.CheckboxGroup; -import java.awt.Choice; -import java.awt.Dialog; -import java.awt.Dimension; -import java.awt.Frame; -import java.awt.GraphicsDevice; -import java.awt.GraphicsEnvironment; -import java.awt.GridBagConstraints; -import java.awt.GridBagLayout; -import java.awt.GridLayout; -import java.awt.Label; -import java.awt.Panel; -import java.awt.ScrollPane; -import java.awt.TextArea; -import java.awt.TextField; -import java.awt.Toolkit; +import javax.management.JMX; +import javax.management.MBeanServerConnection; +import javax.management.ObjectName; +import javax.management.remote.JMXConnector; +import javax.management.remote.JMXConnectorFactory; +import javax.management.remote.JMXServiceURL; import java.awt.event.ItemEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; @@ -34,12 +20,6 @@ import java.util.Map; import java.util.Set; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; -import javax.management.JMX; -import javax.management.MBeanServerConnection; -import javax.management.ObjectName; -import javax.management.remote.JMXConnector; -import javax.management.remote.JMXConnectorFactory; -import javax.management.remote.JMXServiceURL; /** -- cgit 1.2.3-korg