summaryrefslogtreecommitdiffstats
path: root/controlloop/common/model-impl/events/src/main
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-08-19 01:07:49 +0000
committerGerrit Code Review <gerrit@onap.org>2017-08-19 01:07:49 +0000
commit1b93494ed7c4808aaf979472a9349177ff99d8d8 (patch)
treefc3431beff1f0140327677d31328fb72cad115b8 /controlloop/common/model-impl/events/src/main
parent1a5a5b0744e57d71ecca6a79eb5cfcbc1df16a19 (diff)
parent6d7e231986b84cf6646e46beba7e7e05699bffe6 (diff)
Merge "Code cleanup to resolve critical sonar issues"
Diffstat (limited to 'controlloop/common/model-impl/events/src/main')
-rw-r--r--controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/util/Serialization.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/util/Serialization.java b/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/util/Serialization.java
index a45947733..9e6d1afc0 100644
--- a/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/util/Serialization.java
+++ b/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/util/Serialization.java
@@ -73,7 +73,7 @@ public final class Serialization {
}
public static class gsonUTCAdapter implements JsonSerializer<ZonedDateTime>, JsonDeserializer<ZonedDateTime> {
- public static DateTimeFormatter format = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSSSSSxxx");
+ public static final DateTimeFormatter format = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSSSSSxxx");
public ZonedDateTime deserialize(JsonElement element, Type type, JsonDeserializationContext context)
throws JsonParseException {