summaryrefslogtreecommitdiffstats
path: root/common-be/src
diff options
context:
space:
mode:
Diffstat (limited to 'common-be/src')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/ArtifactDataDefinition.java7
1 files changed, 7 insertions, 0 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 5927a5abe7..54ab3bd6d0 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
@@ -477,6 +477,13 @@ public class ArtifactDataDefinition extends ToscaDataDefinition {
} else if (!getArtifactRepository().equals(other.getArtifactRepository())) {
return false;
}
+ if (getArtifactName() == null) {
+ if (other.getArtifactName() != null) {
+ return false;
+ }
+ } else if (!getArtifactName().equals(other.getArtifactName())) {
+ return false;
+ }
if (getArtifactType() == null) {
if (other.getArtifactType() != null) {
return false;