commit | 34e37652a9873f199af6d06277aef3303837d459 | [log] [tgz] |
---|---|---|
author | ramanjaneya <ramanjaneya.palleti@huawei.com> | Mon Sep 25 15:55:29 2017 +0530 |
committer | Ramanjaneya Reddy <ramanjaneya.palleti@huawei.com> | Mon Sep 25 10:33:04 2017 +0000 |
tree | ecd4f2fb6fe33f651b316bbcc61672290b389791 | |
parent | 671a60b12b8322f40c8bfa6eca2b78028ecc637b [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>
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 785c173..9347009 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 @@ 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();