From 3693992e59252f2d3691094fa5fcef4bad7e14d1 Mon Sep 17 00:00:00 2001 From: rama-huawei Date: Thu, 12 Oct 2017 19:18:53 +0530 Subject: Iterate over "entrySet" instead of "keySet" Issue-id: SO-214 Change-Id: Ic402b02a82bd613b0753db1530dd76ce59c3ad08 Signed-off-by: rama-huawei --- .../java/org/openecomp/mso/adapters/tenant/MsoTenantAdapterImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adapters/mso-tenant-adapter/src') 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); -- cgit 1.2.3-korg