diff --git a/common/workflow-core/src/main/scala/org/apache/texera/amber/core/tuple/Attribute.java b/common/workflow-core/src/main/scala/org/apache/texera/amber/core/tuple/Attribute.java index fb434e08752..0d87ba9911f 100644 --- a/common/workflow-core/src/main/scala/org/apache/texera/amber/core/tuple/Attribute.java +++ b/common/workflow-core/src/main/scala/org/apache/texera/amber/core/tuple/Attribute.java @@ -80,13 +80,6 @@ public boolean equals(Object toCompare) { Attribute that = (Attribute) toCompare; - if (this.attributeName == null) { - return that.attributeName == null; - } - if (this.attributeType == null) { - return that.attributeType == null; - } - return this.attributeName.equalsIgnoreCase(that.attributeName) && this.attributeType.equals(that.attributeType); }