aboutsummaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/java/org/onap
diff options
context:
space:
mode:
authorJames Forsyth <jf2512@att.com>2018-01-08 13:58:51 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-08 13:58:51 +0000
commit5b6eea9b05575f4549f9b329e9ff3e4589211ac8 (patch)
treedd17f07e69f280a09f525fe1b7c690c297ebae26 /aai-resources/src/main/java/org/onap
parentf6c4a99a31d0acf5394ad64b35b5b53cf9760ba5 (diff)
parentf0adee171017ddb6907523dfeff51bdd24398e8d (diff)
Merge "Sonar Major:Use isEmpty() to check the collection"
Diffstat (limited to 'aai-resources/src/main/java/org/onap')
-rw-r--r--aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java b/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java
index 12913fe..08b2461 100644
--- a/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java
+++ b/aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java
@@ -393,7 +393,7 @@ public class ModelVersionTransformer extends RESTAPI {
}
}
String queryParams = Joiner.on("&").join(parmList);
- if (map.keySet().size() > 0) {
+ if (map.keySet().isEmpty()) {
path += params + queryParams;
}