From 421a0843285f262b5cfc907ebd804ecd06d3fbe3 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Fri, 19 Jan 2018 19:55:02 +0000 Subject: 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 --- .../policy/controlloop/eventmanager/ControlLoopOperationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controlloop/common/eventmanager') 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 // -- cgit 1.2.3-korg