From 961356b1c9b2a9b4db2dd58e4d8ca44690c9cf36 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Thu, 21 Jan 2021 11:13:55 +0000 Subject: Fix sonarqube violations Issue-ID: CPS-89 Signed-off-by: ToineSiebelink Change-Id: I8ce5f6fedb5d7c4d6c17d419b759b9d836f94ae9 --- .../main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cps-ri/src/main/java/org') diff --git a/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java b/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java index 283d646825..ef64c34d5c 100644 --- a/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java @@ -46,7 +46,7 @@ public class CpsDataPersistenceServiceImpl implements CpsDataPersistenceService @Autowired private FragmentRepository fragmentRepository; - private static Gson GSON = new GsonBuilder().create(); + private static final Gson GSON = new GsonBuilder().create(); @Override public void storeDataNode(final String dataspaceName, final String anchorName, final DataNode dataNode) { -- cgit 1.2.3-korg