Skip to content

Conversation

@banseok1216
Copy link

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>
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.

1 participant