Skip to content

Commit

Permalink
Merge pull request #731 from Netflix/property-details-hashcode
Browse files Browse the repository at this point in the history
Implement hashCode for PropertyDetails
  • Loading branch information
rgallardo-netflix authored Sep 24, 2024
2 parents 4f3bcd6 + bbd09f3 commit 8eb1958
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ public Object getValue() {
return value;
}

@Override
public int hashCode() {
return Objects.hash(key, id, value);
}

public boolean equals(Object o) {
if (!(o instanceof PropertyDetails)) {
return false;
Expand Down

0 comments on commit 8eb1958

Please sign in to comment.