summaryrefslogtreecommitdiffstats
path: root/gson
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2024-07-19 12:14:20 +0100
committeradheli.tavares <adheli.tavares@est.tech>2024-07-19 14:02:08 +0100
commit119c725def8de2593bdd8e356212fd3078740643 (patch)
tree491b9b73e76cfb8b93cb6569a2f30ca0fb66b306 /gson
parent936d289bc32ac46baf4230a582d5020e94e39f8f (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.java2
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";