From 268be523fb1142138a3f710642b5773453841eeb Mon Sep 17 00:00:00 2001 From: "priyanka.akhade" Date: Thu, 18 Jun 2020 15:11:08 +0530 Subject: code improvements Signed-off-by: priyanka.akhade Issue-ID: CLI-270 Change-Id: If9eab4bc8642c7c20a841d58c8a9e2bf5ae6c98b --- .../src/main/java/org/onap/cli/http/mock/MockRequest.java | 2 +- .../src/main/java/org/onap/cli/http/mock/MockResponse.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'validate') diff --git a/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockRequest.java b/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockRequest.java index 3bba8c21..7b3e5738 100644 --- a/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockRequest.java +++ b/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockRequest.java @@ -58,7 +58,7 @@ public class MockRequest { return json; } - public void setJson(String json) throws IOException { + public void setJson(String json) throws IOException { //NOSONAR if (!json.isEmpty()) { try { JsonParser parser = new JsonParser(); diff --git a/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockResponse.java b/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockResponse.java index 30f64f20..7f605c33 100644 --- a/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockResponse.java +++ b/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockResponse.java @@ -36,7 +36,7 @@ public class MockResponse { return json; } - public void setJson(String json) throws IOException { + public void setJson(String json) throws IOException { //NOSONAR if (json != null && !json.isEmpty()) { try { JsonParser parser = new JsonParser(); -- cgit 1.2.3-korg