Skip to content

Replace NullAway configuration with nullability-maven-plugin - #219

Open
scordio wants to merge 1 commit into
mainfrom
nullability-maven-plugin
Open

scordio wants to merge 1 commit into
mainfrom
nullability-maven-plugin

Conversation

@scordio

@scordio scordio commented Oct 12, 2026

Copy link
Copy Markdown
Collaborator

This replaces the explicit ErrorProne and NullAway configuration with the nullability-maven-plugin.

/**
* Default {@code RowMapper} implementations.
*/
@NullUnmarked

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to annotate all spring-batch-excel packages with @NullUnmarked as the plugin enables the RequireExplicitNullMarking checker by default, which I think it's a good practice.

Switching from @NullUnmarked to @NullMarked would require reviewing the affected classes and annotating them accordingly, but that would be beyond the scope of this PR.

@scordio
scordio force-pushed the nullability-maven-plugin branch 2 times, most recently from dd1b829 to 60a66c1 Compare October 12, 2026 17:26
Signed-off-by: Stefano Cordio <stefano.cordio@gmail.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