diff --git a/dependency-check-core/src/main/java/org/owasp/dependencycheck/dependency/Identifier.java b/dependency-check-core/src/main/java/org/owasp/dependencycheck/dependency/Identifier.java index 0deb35ed0..bedfef38e 100644 --- a/dependency-check-core/src/main/java/org/owasp/dependencycheck/dependency/Identifier.java +++ b/dependency-check-core/src/main/java/org/owasp/dependencycheck/dependency/Identifier.java @@ -224,7 +224,6 @@ public class Identifier implements Serializable, Comparable { final Identifier other = (Identifier) obj; return new EqualsBuilder() - .appendSuper(super.equals(obj)) .append(this.type, other.type) .append(this.value, other.value) .isEquals(); @@ -238,7 +237,6 @@ public class Identifier implements Serializable, Comparable { @Override public int hashCode() { return new HashCodeBuilder(5, 49) - .appendSuper(super.hashCode()) .append(type) .append(value) .toHashCode(); @@ -268,7 +266,7 @@ public class Identifier implements Serializable, Comparable { } return new CompareToBuilder() .append(this.type, o.type) - .append(this.value, this.value) + .append(this.value, o.value) .toComparison(); } }