diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2017-09-30 08:05:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-30 08:05:12 +0000 |
commit | 244acc1973c75f49d92dd7df09628e331d4d903d (patch) | |
tree | f29e7050880ba7b6e7166749616e82513ffdb721 /asdc-controller/src/main/java/org/openecomp | |
parent | b727f01576c13cdab5d3333acb09f1fcd305a673 (diff) | |
parent | 06bece2086f54bad060405a211add8e5de2bd1f6 (diff) |
Merge "Fixed string literal comparision"
Diffstat (limited to 'asdc-controller/src/main/java/org/openecomp')
-rw-r--r-- | asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java b/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java index 11199dc04b..24950db916 100644 --- a/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java +++ b/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java @@ -786,7 +786,7 @@ public class ToscaResourceInstaller {// implements IVfResourceInstaller { String providerNetwork = toscaResourceStructure.getSdcCsarHelper().getNodeTemplatePropertyLeafValue(networkNodeTemplate, SdcPropertyNames.PROPERTY_NAME_PROVIDERNETWORK_ISPROVIDERNETWORK);
- if(providerNetwork != null && providerNetwork.equalsIgnoreCase("true")){
+ if("true".equalsIgnoreCase(providerNetwork)){
networkResource.setNeutronNetworkType("PROVIDER");
} else {
networkResource.setNeutronNetworkType("BASIC");
|