From 265058d6e10a1724405836bd55f3aa59d63bab8a Mon Sep 17 00:00:00 2001 From: KrupaNagabhushan Date: Fri, 26 Jun 2020 17:59:54 +0100 Subject: Fix for NullPointerException while onboarding VF Issue-ID: SDC-3161 Signed-off-by: KrupaNagabhushan Change-Id: I6eefcb86c6ef97fb19449e1fc45cee3cb91b3a2a --- .../org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinition.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common-be/src/main/java/org') 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) { -- cgit 1.2.3-korg