diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2018-08-27 17:33:53 +0530 |
---|---|---|
committer | IBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com> | 2018-08-27 17:34:04 +0530 |
commit | f98abbaff379556fa7b803c2843a99e664d27ad3 (patch) | |
tree | 94f8eb19ede3cbfa3c01ed86c24d5b6533100cdf | |
parent | 0d2f003049e562354fda88729dbab70f46daa25f (diff) |
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 <arundpil@in.ibm.com>
-rw-r--r-- | src/main/java/org/onap/music/datastore/jsonobjects/JsonInsert.java | 5 |
1 files changed, 2 insertions, 3 deletions
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<String, Object> values; + private transient Map<String, Object> values; private String ttl; private String timestamp; - private Map<String, Object> row_specification; + private transient Map<String, Object> row_specification; private Map<String, String> consistencyInfo; - private byte[] data; private Map<String, byte[]> objectMap; @ApiModelProperty(value = "objectMap") |