Merge "Generalization of controller"
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / clients / JsonHelper.java
index 4ce7b5a..96c9ac9 100644 (file)
@@ -2,7 +2,7 @@
  * ========================LICENSE_START=================================
  * O-RAN-SC
  * %%
- * Copyright (C) 2019 Nordix Foundation
+ * Copyright (C) 2020 Nordix Foundation
  * %%
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -23,21 +23,23 @@ package org.oransc.policyagent.clients;
 import com.google.gson.FieldNamingPolicy;
 import com.google.gson.Gson;
 import com.google.gson.GsonBuilder;
+
 import java.util.ArrayList;
 import java.util.List;
+
 import org.json.JSONArray;
 import org.json.JSONException;
 import org.json.JSONObject;
+
 import reactor.core.publisher.Flux;
 import reactor.core.publisher.Mono;
 
-public class JsonHelper {
+class JsonHelper {
     private static Gson gson = new GsonBuilder() //
         .setFieldNamingPolicy(FieldNamingPolicy.LOWER_CASE_WITH_DASHES) //
         .create();
 
     private JsonHelper() {
-
     }
 
     public static Flux<String> parseJsonArrayOfString(String inputString) {