From 87be30582d1db37bee7c6b456c0c5c3ca9584963 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Tue, 4 Sep 2018 17:24:15 +0100 Subject: Fix checkstyle issues in apex model basic CHeckstyle issues in apex model basic and knock on changes in other apex modules. Issue-ID: POLICY-1034 Change-Id: I65823f5e2e344526abc74b0812877113acb056ec Signed-off-by: liamfallon --- .../org/onap/policy/apex/client/editor/rest/RestInterfaceTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/client-editor/src/test') diff --git a/client/client-editor/src/test/java/org/onap/policy/apex/client/editor/rest/RestInterfaceTest.java b/client/client-editor/src/test/java/org/onap/policy/apex/client/editor/rest/RestInterfaceTest.java index 4893775ea..012167b51 100644 --- a/client/client-editor/src/test/java/org/onap/policy/apex/client/editor/rest/RestInterfaceTest.java +++ b/client/client-editor/src/test/java/org/onap/policy/apex/client/editor/rest/RestInterfaceTest.java @@ -108,7 +108,7 @@ public class RestInterfaceTest { localmodel = new ApexModelReader<>(AxPolicyModel.class, false) .read(ResourceUtils.getResourceAsStream(TESTMODELFILE)); localmodelString = - new ApexModelStringWriter(false).writeJSONString(localmodel, AxPolicyModel.class); + new ApexModelStringWriter(false).writeJsonString(localmodel, AxPolicyModel.class); // initialize a session ID createNewSession(); @@ -195,7 +195,7 @@ public class RestInterfaceTest { // Write that local copy of the AxPolicy object to a Json String, ten parse it again final ApexModelStringWriter apexModelWriter = new ApexModelStringWriter<>(false); - final String localPolicyString = apexModelWriter.writeJSONString(localpolicy, AxPolicy.class); + final String localPolicyString = apexModelWriter.writeJsonString(localpolicy, AxPolicy.class); apexPolicyReader = new ApexModelReader<>(AxPolicy.class, false); final AxPolicy localpolicyReparsed = apexPolicyReader.read(localPolicyString); // AxPolicy localpolicy_reparsed = RestUtils.getConceptFromJSON(returnedPolicyAsString, AxPolicy.class); -- cgit 1.2.3-korg