summaryrefslogtreecommitdiffstats
path: root/controlloop/common/model-impl/vfc
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-01-31 13:42:53 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-31 13:42:53 +0000
commit23003d8d207637e2c180a3d375dc14fc1bfffa3f (patch)
tree685f40107ba6ebbe0b9b143fce956031fd5ecdac /controlloop/common/model-impl/vfc
parent1cfa8e6246a72535e23388ed3fe9d52a6eea1989 (diff)
parent65f5fcc147c8dcc43b9c30742c81545859ab3e02 (diff)
Merge "Fix technical debt/JUnit on SO/VFC/SO ACTOR"
Diffstat (limited to 'controlloop/common/model-impl/vfc')
-rw-r--r--controlloop/common/model-impl/vfc/src/main/java/org/onap/policy/vfc/VFCManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/controlloop/common/model-impl/vfc/src/main/java/org/onap/policy/vfc/VFCManager.java b/controlloop/common/model-impl/vfc/src/main/java/org/onap/policy/vfc/VFCManager.java
index 7146e43ca..175223968 100644
--- a/controlloop/common/model-impl/vfc/src/main/java/org/onap/policy/vfc/VFCManager.java
+++ b/controlloop/common/model-impl/vfc/src/main/java/org/onap/policy/vfc/VFCManager.java
@@ -119,7 +119,7 @@ public final class VFCManager implements Runnable {
logger.debug(body);
String responseStatus = responseGet.getResponseDescriptor().getStatus();
- if (httpDetailsGet.a == 200 && (responseStatus.equalsIgnoreCase("finished") || responseStatus.equalsIgnoreCase("error"))) {
+ if (httpDetailsGet.a == 200 && ("finished".equalsIgnoreCase(responseStatus) || "error".equalsIgnoreCase(responseStatus))) {
logger.debug("VFC Heal Status {}", responseGet.getResponseDescriptor().getStatus());
workingMem.insert(responseGet);
break;