aboutsummaryrefslogtreecommitdiffstats
path: root/appc-config
diff options
context:
space:
mode:
authorTaka <tc012c@att.com>2017-12-28 09:48:30 -0500
committerSkip Wonnell <skip@att.com>2018-01-02 17:31:54 +0000
commitb7fa9bfc301bfa8e17febb2264b14e4217503d70 (patch)
treebd3645e129d3bef71edcd706c627b3dd03b7ae47 /appc-config
parent6441b69bd31a3deb7104958e37044ceaafb0d5ca (diff)
fix some minor issues for Sonar
Issue-ID: APPC-363 Change-Id: I3761ea2f235e6b182f04d5ccdb104df295441c05 Signed-off-by: Taka <tc012c@att.com>
Diffstat (limited to 'appc-config')
-rw-r--r--appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/SliAuditActivator.java1
-rw-r--r--appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/node/CompareCliData.java5
2 files changed, 3 insertions, 3 deletions
diff --git a/appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/SliAuditActivator.java b/appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/SliAuditActivator.java
index 37ff13e8d..87b88dc48 100644
--- a/appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/SliAuditActivator.java
+++ b/appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/SliAuditActivator.java
@@ -34,7 +34,6 @@ import org.osgi.framework.ServiceRegistration;
import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
-import org.onap.ccsdk.sli.core.sli.ConfigurationException;
public class SliAuditActivator implements BundleActivator{
diff --git a/appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/node/CompareCliData.java b/appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/node/CompareCliData.java
index ddb97ae23..0b03f2fc8 100644
--- a/appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/node/CompareCliData.java
+++ b/appc-config/appc-config-audit/provider/src/main/java/org/onap/sdnc/config/audit/node/CompareCliData.java
@@ -39,9 +39,10 @@ public class CompareCliData implements CompareDataInterface{
@Override
public boolean compare() throws Exception
{
- if(payloadX != null && payloadX.equals(payloadY))
+ if(payloadX != null && payloadX.equals(payloadY)) {
return true;
- else
+ } else {
return false;
+ }
}
}