Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Spread Cell hashCode
Browse files Browse the repository at this point in the history
  • Loading branch information
schlosna committed Jun 7, 2022
1 parent bcd8fce commit 6192110
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public int hashCode() {
* allow for benign data races.
*/
if (hashCode == 0) {
hashCode = Arrays.hashCode(rowName) ^ Arrays.hashCode(columnName);
hashCode = 31 * Arrays.hashCode(rowName) + Arrays.hashCode(columnName);
}
return hashCode;
}
Expand Down

0 comments on commit 6192110

Please sign in to comment.