aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/eventmanager/src/main
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@ericsson.com>2018-01-19 19:55:02 +0000
committerliamfallon <liam.fallon@ericsson.com>2018-01-20 10:39:19 +0000
commit421a0843285f262b5cfc907ebd804ecd06d3fbe3 (patch)
tree6f5600a80fb7681be017cacdfd16b55a23d5cb70 /controlloop/common/eventmanager/src/main
parent7b6f0942e355b0405bc47e2e4d276e43c63edde1 (diff)
Fix Tech Debt/JUnit on VFC POJOs
Making fields private, fixing field and methods to follow Java guidelines, and adding getter and setter methods. Unit test added for all classes in org.onap.policy.vfc Issue-ID: POLICY-455 Change-Id: I262337a816706cd5243849cd51e57689275545bf Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'controlloop/common/eventmanager/src/main')
-rw-r--r--controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager.java b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager.java
index 8160f76fa..47275c6da 100644
--- a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager.java
+++ b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager.java
@@ -448,7 +448,7 @@ public class ControlLoopOperationManager implements Serializable {
} else if (response instanceof VFCResponse) {
VFCResponse vfcResponse = (VFCResponse) response;
- if (vfcResponse.responseDescriptor.getStatus().equalsIgnoreCase("finished")) {
+ if (vfcResponse.getResponseDescriptor().getStatus().equalsIgnoreCase("finished")) {
//
// Consider it as success
//