aboutsummaryrefslogtreecommitdiffstats
path: root/adapters
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2017-09-22 10:30:53 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-22 10:30:53 +0000
commit3edfd0cb8adfff9e98b4e7b4ea6c449a45bb1178 (patch)
treea2d8e34615ffe5ca5a026004c7c8f874c3450f5f /adapters
parent69ebecae79136c726d34df92ba205aa62f30920a (diff)
parent8a0a21d1031628619c3a359da4097cdc0d513e99 (diff)
Merge "Fix Blocker/Critical sonar issues"
Diffstat (limited to 'adapters')
-rw-r--r--adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/MsoTenantUtilsFactory.java6
1 files changed, 3 insertions, 3 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 219dac6907..bceb7496ab 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
@@ -20,14 +20,14 @@
package org.openecomp.mso.openstack.utils;
-import java.lang.reflect.InvocationTargetException;
import org.openecomp.mso.cloud.CloudConfig;
import org.openecomp.mso.cloud.CloudConfigFactory;
import org.openecomp.mso.cloud.CloudIdentity;
import org.openecomp.mso.cloud.CloudSite;
import org.openecomp.mso.logger.MsoLogger;
import org.openecomp.mso.properties.MsoJavaProperties;
-import org.openecomp.mso.openstack.utils.MsoKeystoneUtils;
+
+import java.lang.reflect.InvocationTargetException;
public class MsoTenantUtilsFactory {
@@ -55,7 +55,7 @@ public class MsoTenantUtilsFactory {
public MsoTenantUtils getTenantUtilsByServerType(String serverType) {
MsoTenantUtils tenantU = null;
- if (CloudIdentity.IdentityServerType.KEYSTONE.equals(serverType)) {
+ if (CloudIdentity.IdentityServerType.KEYSTONE.toString().equals(serverType)) {
tenantU = new MsoKeystoneUtils (msoPropID);
} else {
try {