summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openecomp/sparky
diff options
context:
space:
mode:
authorTian Lee <TianL@amdocs.com>2017-09-21 08:51:49 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-21 08:51:49 +0000
commit4f09f3bb06e0845f28eb026a8d1ae05a5fc82ac9 (patch)
treebe4f670e46b7f006850f951606ec7d8820488a4d /src/main/java/org/openecomp/sparky
parent42dcbe24d17115f5382fdf42b99a461e0b52a22d (diff)
parentedb030d95e988dd463be3401767d0d6d5edd99b6 (diff)
Merge "Fix Blocker/Critical sonar issues"
Diffstat (limited to 'src/main/java/org/openecomp/sparky')
-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);