diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2018-08-28 11:59:08 +0530 |
---|---|---|
committer | IBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com> | 2018-08-28 11:59:21 +0530 |
commit | 58269bad74fb1533aacd1d6c9566494ed80073aa (patch) | |
tree | 1caa63783a1800cc50631dc30f3bdb80edf565da | |
parent | c79755d43c123176515e5cafbba0774a03d297d3 (diff) |
JasonUpdate.java: Fixed sonar issue
Fixed sonar issue, make values transient or serializable
Issue-ID: MUSIC-110
Change-Id: Ief55a0b21e3494c39050a83bdc1a04f2bef49234
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-rw-r--r-- | src/main/java/org/onap/music/datastore/jsonobjects/JsonUpdate.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/org/onap/music/datastore/jsonobjects/JsonUpdate.java b/src/main/java/org/onap/music/datastore/jsonobjects/JsonUpdate.java index 3ab5ea0d..c1a56819 100644 --- a/src/main/java/org/onap/music/datastore/jsonobjects/JsonUpdate.java +++ b/src/main/java/org/onap/music/datastore/jsonobjects/JsonUpdate.java @@ -38,11 +38,12 @@ import io.swagger.annotations.ApiModelProperty; public class JsonUpdate implements Serializable { private String keyspaceName; private String tableName; - private Map<String, Object> values; - private String ttl, timestamp; + private transient Map<String, Object> values; + private String ttl; + private String timestamp; private Map<String, String> consistencyInfo; - private Map<String, Object> conditions; - private Map<String, Object> row_specification; + private transient Map<String, Object> conditions; + private transient Map<String, Object> row_specification; @ApiModelProperty(value = "Conditions") public Map<String, Object> getConditions() { |