Skip to content

Implement equals and hashCode in Chunk class #4296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jpraet opened this issue Feb 11, 2023 · 1 comment
Closed

Implement equals and hashCode in Chunk class #4296

jpraet opened this issue Feb 11, 2023 · 1 comment

Comments

@jpraet
Copy link
Contributor

jpraet commented Feb 11, 2023

The Chunk class does not currently implement equals and hashCode.

This small enhancement would, among other things, facilitate testing custom ItemWriter implementations with mockito.

@jpraet jpraet added the status: waiting-for-triage Issues that we did not analyse yet label Feb 11, 2023
@fmbenhassine fmbenhassine added in: core type: enhancement and removed status: waiting-for-triage Issues that we did not analyse yet labels Feb 13, 2023
@fmbenhassine fmbenhassine added this to the 5.0.1 milestone Feb 13, 2023
@fmbenhassine fmbenhassine linked a pull request Feb 15, 2023 that will close this issue
@jpraet
Copy link
Contributor Author

jpraet commented Feb 23, 2023

There is a problem: the PR #4300 adds equals and hashCode to the ChunkIterator class instead of to the Chunk class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants