Skip to content

MINOR: Fix PartitionRegistration.hashCode (#12774)#77

Merged
rutvijmehta-harness merged 1 commit into
trunkfrom
pr-branch
Feb 9, 2024
Merged

MINOR: Fix PartitionRegistration.hashCode (#12774)#77
rutvijmehta-harness merged 1 commit into
trunkfrom
pr-branch

Conversation

@rutvijmehta-harness

Copy link
Copy Markdown
Owner

PartitionRegistration.hashCode passes raw arrays to Objects.hash in the hashCode implementation. This doesn't work since the equals implementation uses Arrays.equals. We should use Arrays.hashCode instead.

Reviewers: David Arthur mumrah@gmail.com

`PartitionRegistration.hashCode` passes raw arrays to `Objects.hash` in the `hashCode` implementation. This doesn't work since the `equals` implementation uses `Arrays.equals`. We should use `Arrays.hashCode` instead. 

Reviewers: David Arthur <mumrah@gmail.com>
@rutvijmehta-harness
rutvijmehta-harness merged commit ec53238 into trunk Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants