From f98abbaff379556fa7b803c2843a99e664d27ad3 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Mon, 27 Aug 2018 17:33:53 +0530 Subject: JsonInser.java : fixed sonar issue Fixed sonar issue, use transient or serializable keyword Issue-ID: MUSIC-109 Change-Id: I1c8077548167884790713a2dc52538aa80b16f4e Signed-off-by: Arundathi Patil --- src/main/java/org/onap/music/datastore/jsonobjects/JsonInsert.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/main/java/org/onap/music/datastore/jsonobjects/JsonInsert.java b/src/main/java/org/onap/music/datastore/jsonobjects/JsonInsert.java index 9630abe0..c79ba9b7 100644 --- a/src/main/java/org/onap/music/datastore/jsonobjects/JsonInsert.java +++ b/src/main/java/org/onap/music/datastore/jsonobjects/JsonInsert.java @@ -38,12 +38,11 @@ import io.swagger.annotations.ApiModelProperty; public class JsonInsert implements Serializable { private String keyspaceName; private String tableName; - private Map values; + private transient Map values; private String ttl; private String timestamp; - private Map row_specification; + private transient Map row_specification; private Map consistencyInfo; - private byte[] data; private Map objectMap; @ApiModelProperty(value = "objectMap") -- cgit 1.2.3-korg