summaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapter-utils
diff options
context:
space:
mode:
authorBENJAMIN, MAX <max.benjamin@att.com>2021-03-11 13:45:02 -0500
committerAT&T Open Source <g22940@att.com>2021-03-11 13:45:02 -0500
commitd70f1b58ceaed74211c4855c0a19fb9f830609c9 (patch)
tree912579bc1e1a8c3197ed2f7b07821bb8bc28173e /adapters/mso-adapter-utils
parentf3b8f846dec599050700b147f0e4824b54cf9d65 (diff)
correct string comparison operator
correct string comparison operator Issue-ID: SO-3583 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I2c5754e4ca8ba7e303385c4eaf88dee2f0498d1a
Diffstat (limited to 'adapters/mso-adapter-utils')
-rw-r--r--adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/MsoMulticloudUtils.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/MsoMulticloudUtils.java b/adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/MsoMulticloudUtils.java
index be42ff10bb..743abc0177 100644
--- a/adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/MsoMulticloudUtils.java
+++ b/adapters/mso-adapter-utils/src/main/java/org/onap/so/openstack/utils/MsoMulticloudUtils.java
@@ -30,6 +30,8 @@ import java.util.Scanner;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.UriBuilder;
import javax.ws.rs.core.UriBuilderException;
+import org.onap.logging.filter.base.ErrorCode;
+import org.onap.logging.filter.base.ONAPComponents;
import org.onap.so.adapters.vdu.CloudInfo;
import org.onap.so.adapters.vdu.PluginAction;
import org.onap.so.adapters.vdu.VduArtifact;
@@ -43,7 +45,6 @@ import org.onap.so.adapters.vdu.VduStatus;
import org.onap.so.client.HttpClient;
import org.onap.so.client.HttpClientFactory;
import org.onap.so.client.RestClient;
-import org.onap.logging.filter.base.ErrorCode;
import org.onap.so.logger.MessageEnum;
import org.onap.so.openstack.beans.HeatStatus;
import org.onap.so.openstack.beans.StackInfo;
@@ -51,7 +52,6 @@ import org.onap.so.openstack.exceptions.MsoAdapterException;
import org.onap.so.openstack.exceptions.MsoException;
import org.onap.so.openstack.exceptions.MsoOpenstackException;
import org.onap.so.openstack.mappers.StackInfoMapper;
-import org.onap.logging.filter.base.ONAPComponents;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
@@ -151,16 +151,16 @@ public class MsoMulticloudUtils extends MsoHeatUtils implements VduPlugin {
for (String key : MULTICLOUD_INPUTS) {
if (!stackInputs.isEmpty() && stackInputs.containsKey(key)) {
- if (key == OOF_DIRECTIVES) {
+ if (OOF_DIRECTIVES.equals(key)) {
oofDirectives = (String) stackInputs.get(key);
}
- if (key == SDNC_DIRECTIVES) {
+ if (SDNC_DIRECTIVES.equals(key)) {
sdncDirectives = (String) stackInputs.get(key);
}
- if (key == USER_DIRECTIVES) {
+ if (USER_DIRECTIVES.equals(key)) {
userDirectives = (String) stackInputs.get(key);
}
- if (key == TEMPLATE_TYPE) {
+ if (TEMPLATE_TYPE.equals(key)) {
templateType = (String) stackInputs.get(key);
}
if (logger.isDebugEnabled()) {