summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2020-06-26 17:59:54 +0100
committerKrupaNagabhushan <krupa.nagabhushan@est.tech>2020-06-29 09:22:47 +0100
commit265058d6e10a1724405836bd55f3aa59d63bab8a (patch)
tree6f6548479effde8701cdfe4c72d52ddc8e57e143
parent56f99ec6ce4cf9ae5a0c9bf162164aa1c05413b3 (diff)
Fix for NullPointerException while onboarding VF
Issue-ID: SDC-3161 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I6eefcb86c6ef97fb19449e1fc45cee3cb91b3a2a
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinition.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinition.java
index 3b52eb97df..bc9bc3387f 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinition.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinition.java
@@ -92,7 +92,7 @@ public class ArtifactDataDefinition extends ToscaDataDefinition {
}
public boolean isHeatEnvType() {
- return getArtifactType().equals(ArtifactTypeEnum.HEAT_ENV.getType());
+ return ArtifactTypeEnum.HEAT_ENV.getType().equals(getArtifactType());
}
public void setArtifactType(String artifactType) {