aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Nelson <tn1381@att.com>2018-09-18 01:48:22 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-18 01:48:22 +0000
commit63b03eaaf973262e5a07c85a2274d179de86b45e (patch)
tree5d011bf89f92fa27a9a6d8a25bff9c0e8252ff87
parentcfc70c5f51aa3730aafbe6535ac70e0b2450629a (diff)
parent5a79e022277813eba9e92349e51ed0e3c5419dda (diff)
Merge "Move string literal to left of string comparison"
-rw-r--r--src/main/java/org/onap/music/datastore/MusicDataStore.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/music/datastore/MusicDataStore.java b/src/main/java/org/onap/music/datastore/MusicDataStore.java
index 21b0053f..38f5fe9f 100644
--- a/src/main/java/org/onap/music/datastore/MusicDataStore.java
+++ b/src/main/java/org/onap/music/datastore/MusicDataStore.java
@@ -335,7 +335,7 @@ public class MusicDataStore {
ColumnDefinitions colInfo = row.getColumnDefinitions();
HashMap<String, Object> resultOutput = new HashMap<String, Object>();
for (Definition definition : colInfo) {
- if (!definition.getName().equals("vector_ts")) {
+ if (!"vector_ts".equals(definition.getName())) {
if(definition.getType().toString().toLowerCase().contains("blob")) {
resultOutput.put(definition.getName(),
getBlobValue(row, definition.getName(), definition.getType()));