diff options
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"; |