summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 52fe859..3eb031f 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;
}