diff options
author | liamfallon <liam.fallon@ericsson.com> | 2018-03-02 14:24:23 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@ericsson.com> | 2018-03-02 14:29:10 +0000 |
commit | 12db2b732e1e7191c2f48e23f1e14f6d81bf2cee (patch) | |
tree | 69adac9c1141186f00488ae7baf2959637a2b22f /controlloop/common/model-impl/vfc/src/test | |
parent | cfe2c6e071f5e43ad01f470a3c87230dd1e1fe13 (diff) |
Reduce Technical Debt on drools-applications
This commit mops up the technical debt issues in
drools-applications that are reaistic to fix witout
major surgery on the code.
note: warnings on non compliant Java class names that are used in
yaml serializaiton and deserailization are ignored.
note: warnings on complexity figures for equals() methods are ignored.
Issue-ID: POLICY-455
Change-Id: I99ccda4bd9932ceb5ccbcfd2778730234b55d7a5
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
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.java | 4 |
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); |