summaryrefslogtreecommitdiffstats
path: root/controlloop/common/model-impl/vfc/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'controlloop/common/model-impl/vfc/src/test')
-rw-r--r--controlloop/common/model-impl/vfc/src/test/java/org/onap/policy/vfc/TestDemo.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/controlloop/common/model-impl/vfc/src/test/java/org/onap/policy/vfc/TestDemo.java b/controlloop/common/model-impl/vfc/src/test/java/org/onap/policy/vfc/TestDemo.java
index 96a62bf9f..69d3d5838 100644
--- a/controlloop/common/model-impl/vfc/src/test/java/org/onap/policy/vfc/TestDemo.java
+++ b/controlloop/common/model-impl/vfc/src/test/java/org/onap/policy/vfc/TestDemo.java
@@ -66,8 +66,8 @@ public class TestDemo {
responseDescriptor.setErrorCode(null);
responseDescriptor.setResponseId("11");
- response.getResponseDescriptor().responseHistoryList = new LinkedList<>();
- response.getResponseDescriptor().responseHistoryList.add(responseDescriptor);
+ response.getResponseDescriptor().setResponseHistoryList(new LinkedList<>());
+ response.getResponseDescriptor().getResponseHistoryList().add(responseDescriptor);
body = Serialization.gsonPretty.toJson(response);
System.out.println(body);