summaryrefslogtreecommitdiffstats
path: root/adapters/mso-tenant-adapter/src/main/java/org
diff options
context:
space:
mode:
authorrama-huawei <rama.subba.reddy.s@huawei.com>2017-10-12 19:18:53 +0530
committerrama-huawei <rama.subba.reddy.s@huawei.com>2017-10-12 19:19:28 +0530
commit3693992e59252f2d3691094fa5fcef4bad7e14d1 (patch)
treed1bbe47e40a9f652f95d6718d6ae4fd2a72a5ce4 /adapters/mso-tenant-adapter/src/main/java/org
parent1dd7ae2e894dfa7e1fa634fdbfe5be2b4ef38287 (diff)
Iterate over "entrySet" instead of "keySet"
Issue-id: SO-214 Change-Id: Ic402b02a82bd613b0753db1530dd76ce59c3ad08 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
Diffstat (limited to 'adapters/mso-tenant-adapter/src/main/java/org')
-rw-r--r--adapters/mso-tenant-adapter/src/main/java/org/openecomp/mso/adapters/tenant/MsoTenantAdapterImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/mso-tenant-adapter/src/main/java/org/openecomp/mso/adapters/tenant/MsoTenantAdapterImpl.java b/adapters/mso-tenant-adapter/src/main/java/org/openecomp/mso/adapters/tenant/MsoTenantAdapterImpl.java
index a875a862aa..29f5630586 100644
--- a/adapters/mso-tenant-adapter/src/main/java/org/openecomp/mso/adapters/tenant/MsoTenantAdapterImpl.java
+++ b/adapters/mso-tenant-adapter/src/main/java/org/openecomp/mso/adapters/tenant/MsoTenantAdapterImpl.java
@@ -103,7 +103,7 @@ public class MsoTenantAdapterImpl implements MsoTenantAdapter {
MsoTenantUtils tUtils = tFactory.getTenantUtils (cloudSiteId);
MsoTenant newTenant = null;
- String newTenantId = null;
+ String newTenantId;
long queryTenantStartTime = System.currentTimeMillis ();
try {
newTenant = tUtils.queryTenantByName (tenantName, cloudSiteId);