diff options
author | Ramanjaneya-Huawei <ramanjaneya.palleti@huawei.com> | 2017-10-19 15:30:02 +0530 |
---|---|---|
committer | Ramanjaneya Reddy <ramanjaneya.palleti@huawei.com> | 2017-10-23 14:04:27 +0000 |
commit | 40950d4524f61e087cbcddd95e46a48b71990dd0 (patch) | |
tree | 97aebbf11b6e485bf475811b6e8a9b2c6d2cbb6a /adapters/mso-adapter-utils/src/main/java | |
parent | 9b2a9869e4fce3e1b22e1c94c217f3797d01d448 (diff) |
Removed unused "LOGGER" private field
Change-Id: I9c46b5f4df2a0e12d7dd0dc931e8f0ca7da0091c
Issue-id: SO-224
Signed-off-by: Ramanjaneya-Huawei <ramanjaneya.palleti@huawei.com>
Diffstat (limited to 'adapters/mso-adapter-utils/src/main/java')
-rw-r--r-- | adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/MsoTenantUtilsFactory.java | 9 |
1 files 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 { |