From 40950d4524f61e087cbcddd95e46a48b71990dd0 Mon Sep 17 00:00:00 2001 From: Ramanjaneya-Huawei Date: Thu, 19 Oct 2017 15:30:02 +0530 Subject: Removed unused "LOGGER" private field Change-Id: I9c46b5f4df2a0e12d7dd0dc931e8f0ca7da0091c Issue-id: SO-224 Signed-off-by: Ramanjaneya-Huawei --- .../org/openecomp/mso/openstack/utils/MsoTenantUtilsFactory.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/MsoTenantUtilsFactory.java b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/MsoTenantUtilsFactory.java index bceb7496ab..be49cd947f 100644 --- a/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/MsoTenantUtilsFactory.java +++ b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/MsoTenantUtilsFactory.java @@ -33,11 +33,12 @@ import java.lang.reflect.InvocationTargetException; public class MsoTenantUtilsFactory { private static MsoLogger LOGGER = MsoLogger.getMsoLogger (MsoLogger.Catalog.RA); - private CloudConfigFactory cloudConfigFactory= new CloudConfigFactory(); + + private CloudConfigFactory cloudConfigFactory= new CloudConfigFactory(); protected CloudConfig cloudConfig; protected MsoJavaProperties msoProps = null; private String msoPropID; - + public MsoTenantUtilsFactory (String msoPropID) { this.msoPropID = msoPropID; } @@ -45,7 +46,7 @@ public class MsoTenantUtilsFactory { //based on Cloud IdentityServerType returns ORM or KEYSTONE Utils public MsoTenantUtils getTenantUtils(String cloudSiteId) { - // Obtain the cloud site information + // Obtain the cloud site information cloudConfig = cloudConfigFactory.getCloudConfig(); CloudSite cloudSite = cloudConfig.getCloudSite (cloudSiteId); @@ -54,7 +55,7 @@ public class MsoTenantUtilsFactory { public MsoTenantUtils getTenantUtilsByServerType(String serverType) { - MsoTenantUtils tenantU = null; + MsoTenantUtils tenantU; if (CloudIdentity.IdentityServerType.KEYSTONE.toString().equals(serverType)) { tenantU = new MsoKeystoneUtils (msoPropID); } else { -- cgit 1.2.3-korg