aboutsummaryrefslogtreecommitdiffstats
path: root/validate/sample-mock-generator
diff options
context:
space:
mode:
Diffstat (limited to 'validate/sample-mock-generator')
-rw-r--r--validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockRequest.java2
-rw-r--r--validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockResponse.java2
2 files changed, 2 insertions, 2 deletions
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();