summaryrefslogtreecommitdiffstats
path: root/controlloop/common
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2017-09-25 13:13:24 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-25 13:13:24 +0000
commitef07b9cc0036bbaadf5ed94fa73b8d5ba276e5c0 (patch)
tree4bcea10ccddf5fea2b438e6538089d6924d3ad4b /controlloop/common
parent671a60b12b8322f40c8bfa6eca2b78028ecc637b (diff)
parente367918747050eb3c989038d52dd80ad096ad3ce (diff)
Merge "Fix for Sonar major issues"
Diffstat (limited to 'controlloop/common')
-rw-r--r--controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopEventStatus.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopEventStatus.java b/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopEventStatus.java
index 5effa0c49..ed726201a 100644
--- a/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopEventStatus.java
+++ b/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopEventStatus.java
@@ -46,7 +46,7 @@ public enum ControlLoopEventStatus {
//
// In case DCAE uses the old abatement
//
- if (status.equalsIgnoreCase("abatement")) {
+ if ("abatement".equalsIgnoreCase(status)) {
return ABATED;
}
return null;