Skip to content

Conversation

@divcon
Copy link
Contributor

@divcon divcon commented Dec 8, 2024

Extract collection handling into a separate method and use a stream-based all-match check to improve readability and maintainability.
Also introduce new test cases to verify functionality and reliability of the supportsRepeatableWrites function.

divcon added 2 commits December 8, 2024 23:16
Extract collection handling into a separate method and use a stream-based all-match check to improve readability and maintainability.
Also introduce new test cases to verify functionality and reliability of the supportsRepeatableWrites function.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Dec 8, 2024
@bclozel
Copy link
Member

bclozel commented Dec 9, 2024

Thanks for the PR, but I don't think the code change really improves readability and maintanability (those are really subjective). Also we usually avoid introducing Stream on possibly hot code paths for performance reasons.

@bclozel bclozel closed this Dec 9, 2024
@bclozel bclozel added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: declined A suggestion or change that we don't feel we should currently apply

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants