aboutsummaryrefslogtreecommitdiffstats
path: root/dataChange
diff options
context:
space:
mode:
Diffstat (limited to 'dataChange')
-rw-r--r--dataChange/provider/src/main/java/org/onap/ccsdk/sli/northbound/DataChangeProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/dataChange/provider/src/main/java/org/onap/ccsdk/sli/northbound/DataChangeProvider.java b/dataChange/provider/src/main/java/org/onap/ccsdk/sli/northbound/DataChangeProvider.java
index d47bcd1b..0977fa0b 100644
--- a/dataChange/provider/src/main/java/org/onap/ccsdk/sli/northbound/DataChangeProvider.java
+++ b/dataChange/provider/src/main/java/org/onap/ccsdk/sli/northbound/DataChangeProvider.java
@@ -148,7 +148,7 @@ public class DataChangeProvider implements AutoCloseable, DataChangeService {
String errorCode = serviceDataBuilder.getDataChangeResponseCode();
- if ( errorCode != null && errorCode.length() != 0 && !( errorCode.equals("0")|| errorCode.equals("200"))) {
+ if (!("0".equals(errorCode) || "200".equals(errorCode))) {
LOG.error("Returned FAILED for "+SVC_OPERATION+" error code: '" + errorCode + "'");
} else {
LOG.info("Returned SUCCESS for "+SVC_OPERATION+" ");