Skip to content

Polish PayloadMethodArgumentResolverTests to eliminate null-safety warnings#36934

Closed
quaff wants to merge 1 commit into
spring-projects:mainfrom
quaff:patch-141
Closed

Polish PayloadMethodArgumentResolverTests to eliminate null-safety warnings#36934
quaff wants to merge 1 commit into
spring-projects:mainfrom
quaff:patch-141

Conversation

@quaff

@quaff quaff commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Overview

  1. Argument 'mono' might be null
  2. Method invocation 'block' may produce 'NullPointerException'

Related Issues

…rnings

1. Argument 'mono' might be null
2. Method invocation 'block' may produce 'NullPointerException'

Similar to spring-projectsGH-36319

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jun 16, 2026
@sbrannen

Copy link
Copy Markdown
Member

Thanks for the PR, @quaff.

Note, however, that we do not enable nullability checks for our test suite. In addition, if we were to "fix" the nullability in this one test class, we'd need to address nullability concerns consistently across the test suite.

Since we do not plan to do that, I am closing this PR.

@sbrannen sbrannen closed this Jun 16, 2026
@sbrannen sbrannen added type: task A general task status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: declined A suggestion or change that we don't feel we should currently apply type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants