From 34e37652a9873f199af6d06277aef3303837d459 Mon Sep 17 00:00:00 2001 From: ramanjaneya Date: Mon, 25 Sep 2017 15:55:29 +0530 Subject: Added private constructor Reorder the modifiers to comply with the Java Language Specification Issue-ID: POLICY-239 Change-Id: I1c156dd420d27c45d496b07841f6375aec1b8de3 Signed-off-by: ramanjaneya --- .../aai/src/main/java/org/onap/policy/aai/util/Serialization.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'controlloop/common/model-impl/aai/src/main') 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(); -- cgit 1.2.3-korg