aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/model-impl
diff options
context:
space:
mode:
authorramanjaneya <ramanjaneya.palleti@huawei.com>2017-09-25 15:55:29 +0530
committerRamanjaneya Reddy <ramanjaneya.palleti@huawei.com>2017-09-25 10:33:04 +0000
commit34e37652a9873f199af6d06277aef3303837d459 (patch)
treeecd4f2fb6fe33f651b316bbcc61672290b389791 /controlloop/common/model-impl
parent671a60b12b8322f40c8bfa6eca2b78028ecc637b (diff)
Added private constructor
Reorder the modifiers to comply with the Java Language Specification Issue-ID: POLICY-239 Change-Id: I1c156dd420d27c45d496b07841f6375aec1b8de3 Signed-off-by: ramanjaneya <ramanjaneya.palleti@huawei.com>
Diffstat (limited to 'controlloop/common/model-impl')
-rw-r--r--controlloop/common/model-impl/aai/src/main/java/org/onap/policy/aai/util/Serialization.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/controlloop/common/model-impl/aai/src/main/java/org/onap/policy/aai/util/Serialization.java b/controlloop/common/model-impl/aai/src/main/java/org/onap/policy/aai/util/Serialization.java
index 785c173eb..934700993 100644
--- a/controlloop/common/model-impl/aai/src/main/java/org/onap/policy/aai/util/Serialization.java
+++ b/controlloop/common/model-impl/aai/src/main/java/org/onap/policy/aai/util/Serialization.java
@@ -25,7 +25,10 @@ import com.google.gson.GsonBuilder;
public final class Serialization {
- final static public Gson gsonPretty = new GsonBuilder().disableHtmlEscaping()
+ private Serialization(){
+ }
+
+ public static final Gson gsonPretty = new GsonBuilder().disableHtmlEscaping()
.setPrettyPrinting()
// .registerTypeAdapter(AAIQueryParameters.class, new notificationTypeAdapter())
.create();