summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {