Skip to content

GH-10083: Apply Nullability to spring-integration-mail #10096

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 13, 2025

Conversation

mjd507
Copy link
Contributor

@mjd507 mjd507 commented Jun 11, 2025

Related to: #10083

@mjd507
Copy link
Contributor Author

mjd507 commented Jun 11, 2025

I choose maybe the laziest way, add @SuppressWarnings("NullAway") on class level.

should I try to add more @Nullable on Fields ? actually I tried on AbstractMailReceiver, but too many dereferenced expression have to be solved by adding extra @SuppressWarnings("NullAway") on methods, which made me not sure adding @Nullable on Fields is correct or not.

Signed-off-by: Jiandong Ma <[email protected]>
@mjd507 mjd507 requested a review from artembilan June 13, 2025 14:03
@artembilan artembilan merged commit 2efd22b into spring-projects:main Jun 13, 2025
3 checks passed
@mjd507 mjd507 deleted the jspecify branch June 13, 2025 15:45
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