Skip to content

Conversation

@banseok1216
Copy link
Contributor

PR Description

This PR removes a redundant assertion in StoredProcedureItemReader.

The removed line was:

Assert.state(refCursorPosition == 0 || refCursorPosition > 0, ...);

does not provide any real validation.The condition is always true for any non-negative value, and the preceding refCursorPosition >= 0 check already covers the only meaningful case.
The message also hints at parameter-bound validation that never happens.

This assertion was introduced in:
8f70ed8

Signed-off-by: banseok1216 <bansuk1216@naver.com>
@fmbenhassine
Copy link
Contributor

LGTM 👍 Thank you for your contribution!

@fmbenhassine fmbenhassine merged commit 73bbfb0 into spring-projects:main Jan 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants