Skip to content

Commit

Permalink
shallow list copy in hashcode, closes #48
Browse files Browse the repository at this point in the history
  • Loading branch information
granny committed Jun 17, 2024
1 parent b9a3f17 commit 9618ece
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public boolean equals(@Nullable Object o) {

@Override
public int hashCode() {
return Objects.hash(getKey(), getPoints(), getPane(), getOptions());
return Objects.hash(getKey(), new ArrayList<>(getPoints()), getPane(), getOptions());
}

@Override
Expand Down

0 comments on commit 9618ece

Please sign in to comment.