summaryrefslogtreecommitdiffstats
path: root/adapters/mso-network-adapter/src/main/java
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2017-09-28 13:18:01 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-28 13:18:01 +0000
commitafaf3e49d3a6413b5e7fcebe9611c8befb488adb (patch)
tree552060ea9c189888557a100a4e2209cd58586285 /adapters/mso-network-adapter/src/main/java
parentcb5f49fb943018eb7f376efdbb254417d6c7426f (diff)
parent3065620fde4e78b2c2003ef1d912c36af0b0b61a (diff)
Merge "Fix major Sonar issues"
Diffstat (limited to 'adapters/mso-network-adapter/src/main/java')
-rw-r--r--adapters/mso-network-adapter/src/main/java/org/openecomp/mso/adapters/network/MsoNetworkAdapterImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/mso-network-adapter/src/main/java/org/openecomp/mso/adapters/network/MsoNetworkAdapterImpl.java b/adapters/mso-network-adapter/src/main/java/org/openecomp/mso/adapters/network/MsoNetworkAdapterImpl.java
index ccac38a58c..687930673b 100644
--- a/adapters/mso-network-adapter/src/main/java/org/openecomp/mso/adapters/network/MsoNetworkAdapterImpl.java
+++ b/adapters/mso-network-adapter/src/main/java/org/openecomp/mso/adapters/network/MsoNetworkAdapterImpl.java
@@ -444,7 +444,7 @@ public class MsoNetworkAdapterImpl implements MsoNetworkAdapter {
throw new NetworkException (me);
}
- if (heatStack != null && !(heatStack.getStatus () == HeatStatus.NOTFOUND)) {
+ if (heatStack != null && (heatStack.getStatus () != HeatStatus.NOTFOUND)) {
// Stack exists. Return success or error depending on input directive
if (failIfExists != null && failIfExists) {
String error = "CreateNetwork: Stack " + networkName