diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2024-07-19 12:14:20 +0100 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2024-07-19 14:02:08 +0100 |
commit | 119c725def8de2593bdd8e356212fd3078740643 (patch) | |
tree | 491b9b73e76cfb8b93cb6569a2f30ca0fb66b306 /gson | |
parent | 936d289bc32ac46baf4230a582d5020e94e39f8f (diff) |
Uplift json schema validator library
Issue-ID: POLICY-5084
Change-Id: Ic0413a07d052b62cf81fb9f128ecca892d76aa73
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'gson')
-rw-r--r-- | gson/src/test/java/org/onap/policy/common/gson/ZoneOffsetTypeAdapterTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gson/src/test/java/org/onap/policy/common/gson/ZoneOffsetTypeAdapterTest.java b/gson/src/test/java/org/onap/policy/common/gson/ZoneOffsetTypeAdapterTest.java index a334c307..0e4e9586 100644 --- a/gson/src/test/java/org/onap/policy/common/gson/ZoneOffsetTypeAdapterTest.java +++ b/gson/src/test/java/org/onap/policy/common/gson/ZoneOffsetTypeAdapterTest.java @@ -33,7 +33,7 @@ import lombok.ToString; import org.junit.jupiter.api.Test; class ZoneOffsetTypeAdapterTest { - private static Gson gson = + private static final Gson gson = new GsonBuilder().registerTypeAdapter(ZoneOffset.class, new ZoneOffsetTypeAdapter()).create(); private static final String TEST_ZONE = "+05:00"; |