aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-catalog-db-adapter
diff options
context:
space:
mode:
authorrama-huawei <rama.subba.reddy.s@huawei.com>2017-10-17 15:44:36 +0530
committerRama SubbaReddy <rama.subba.reddy.s@huawei.com>2017-10-23 06:29:42 +0000
commit803c1b6abe08930600c47c72d8449e836d5259a2 (patch)
treedcab1959c4bedcb963184b43d74108ee286b3710 /adapters/mso-catalog-db-adapter
parent913ca71caf1fee02247b4ddfa589d551f1dda05a (diff)
Iterate over the entrySet instead of keySet
Issue-id: SO-214 Change-Id: I3f417fee04ae1fe2c1d0b7361ec0272e1b098302 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
Diffstat (limited to 'adapters/mso-catalog-db-adapter')
-rw-r--r--adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/CatalogQuery.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/CatalogQuery.java b/adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/CatalogQuery.java
index 6c7d584f6d..a74cf07b89 100644
--- a/adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/CatalogQuery.java
+++ b/adapters/mso-catalog-db-adapter/src/main/java/org/openecomp/mso/adapters/catalogdb/catalogrest/CatalogQuery.java
@@ -86,7 +86,7 @@ public abstract class CatalogQuery {
case "v1": return smartToJSON();
case "v2": return JSON2(isArray, !IS_EMBED);
default:
- return ("invalid version: "+ version);
+ return "invalid version: "+ version;
}
}
-} \ No newline at end of file
+}