Skip to content

Commit

Permalink
ordered LinkedHashMap#hashCode() implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit committed Aug 28, 2024
1 parent 5ba70a2 commit 1d0c45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/vavr/collection/LinkedHashMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Collections.hashUnordered(this);
return Collections.hashOrdered(this);
}

private Object readResolve() {
Expand Down

0 comments on commit 1d0c45c

Please sign in to comment.