Move String literal to left-hand side of equals DSLNodeKey class
Issue-ID: SO-1490
Change-Id: Ie8b1b12aaf38bbb0f1f37a56f375ab4c002d6407
Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
result.append("('").append(keyName).append("', ");
List<String> temp = new ArrayList<>();
for (String item : values) {
- if (item.equals("null")) {
+ if ("null".equals(item)) {
temp.add(String.format("' %s '", item));
- } else if (item.equals("")) {
+ } else if ("".equals(item)) {
temp.add("' '");
} else {
temp.add(String.format("'%s'", item));