Skip to content

Fix incorrect nullability contract for encoding in StaxEventItemReader - #5483

Closed
Gorock wants to merge 1 commit into
spring-projects:mainfrom
Gorock:FIX_Stax_Jspecify_Annotations
Closed

Fix incorrect nullability contract for encoding in StaxEventItemReader#5483
Gorock wants to merge 1 commit into
spring-projects:mainfrom
Gorock:FIX_Stax_Jspecify_Annotations

Conversation

@Gorock

@Gorock Gorock commented Aug 6, 2026

Copy link
Copy Markdown

The encoding can be null Based on the Javadoc but Jspecify gives a warning when passing null. Which is confusing

this is my first Contribution to Spring Batch so please tell me if i forget something.

the encoding can be null based on the Documentation but Jspecify gives a warning when passing null. Which is confusing

Signed-off-by: Daniel Morady <7807967+Gorock@users.noreply.github.com>
@Gorock
Gorock force-pushed the FIX_Stax_Jspecify_Annotations branch from d743965 to 5360c70 Compare August 6, 2026 16:24
@fmbenhassine fmbenhassine changed the title Fixing the JSpecify Annotations for Encoding in StaxEventItemReader Fix incorrect nullability contract for encoding in StaxEventItemReader Aug 28, 2026
@fmbenhassine

Copy link
Copy Markdown
Contributor

Good catch! Thank you for reporting this and for contributing a fix.

Rebased and merged as ff4e7cf.

Thank you for your first contribution 🙏

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