aboutsummaryrefslogtreecommitdiffstats
path: root/cps-ri/src
diff options
context:
space:
mode:
authorToineSiebelink <toine.siebelink@est.tech>2021-01-21 11:13:55 +0000
committerToineSiebelink <toine.siebelink@est.tech>2021-01-21 11:16:57 +0000
commit961356b1c9b2a9b4db2dd58e4d8ca44690c9cf36 (patch)
tree12e7b9957b1538f65eb3f33948027a09c52aedf7 /cps-ri/src
parentcd9f368b1f3c5e25e17e21649e582d84a909ac79 (diff)
Fix sonarqube violations
Issue-ID: CPS-89 Signed-off-by: ToineSiebelink <toine.siebelink@est.tech> Change-Id: I8ce5f6fedb5d7c4d6c17d419b759b9d836f94ae9
Diffstat (limited to 'cps-ri/src')
-rw-r--r--cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
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) {