aboutsummaryrefslogtreecommitdiffstats
path: root/validate/sample-mock-generator/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'validate/sample-mock-generator/src/main')
-rw-r--r--validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockJsonGenerator.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockJsonGenerator.java b/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockJsonGenerator.java
index ffc7c7e3..780ad695 100644
--- a/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockJsonGenerator.java
+++ b/validate/sample-mock-generator/src/main/java/org/onap/cli/http/mock/MockJsonGenerator.java
@@ -25,7 +25,9 @@ import java.io.FileWriter;
public class MockJsonGenerator {
private static Gson gson = new GsonBuilder().serializeNulls().create();
-
+ private MockJsonGenerator() {
+ throw new IllegalStateException("Utility class");
+ }
public static void generateMocking(MockRequest mockRequest, MockResponse mockResponse, String jsonFilePath) throws IOException {
MockObject mockObject = new MockObject();