summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorshashikanth <shashikanth.vh@huawei.com>2017-09-20 13:05:19 +0530
committershashikanth <shashikanth.vh@huawei.com>2017-09-20 13:05:19 +0530
commitedb030d95e988dd463be3401767d0d6d5edd99b6 (patch)
tree6a930c6a5ed905648fd79b016a356ff3fd802f0f /src/main
parenta40af07cdb70ab61e06e68d020ff398cc9055828 (diff)
Fix Blocker/Critical sonar issues
Fix Blocker/Critical sonar issues in aai/sparky-be module https://sonar.onap.org/component_issues?id=org.openecomp.aai.sparky-be%3Asparky-be#resolved=false|severities=CRITICAL Fixed Correct this "&" to "&&". Issue-Id:AAI-342 Change-Id: Ia6bd54cf18406c3327b77820abe68a6c0f4484b9 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/openecomp/sparky/viewandinspect/entity/ActiveInventoryNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/openecomp/sparky/viewandinspect/entity/ActiveInventoryNode.java b/src/main/java/org/openecomp/sparky/viewandinspect/entity/ActiveInventoryNode.java
index aef710d..fc0f074 100644
--- a/src/main/java/org/openecomp/sparky/viewandinspect/entity/ActiveInventoryNode.java
+++ b/src/main/java/org/openecomp/sparky/viewandinspect/entity/ActiveInventoryNode.java
@@ -166,7 +166,7 @@ public class ActiveInventoryNode {
public void addQueryParams(Collection<String> params) {
- if (params != null & params.size() > 0) {
+ if (params != null && !params.isEmpty()) {
for (String param : params) {
addQueryParam(param);