aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2017-09-25 13:15:32 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-25 13:15:32 +0000
commitd29f8a41b03d62a622c7a0b8dcc5e2a3ea561f52 (patch)
tree6a6be5b0e7b1fb073e1036ffbe514d502398c5ed
parent1be71129e4c9c180504ccceecc3186342a002d95 (diff)
parent34e37652a9873f199af6d06277aef3303837d459 (diff)
Merge "Added private constructor"
-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();