Skip to content

Nullable annotations from AbstractErrorController.getErrorAttributes are not aligned with implementation - #50265

Closed
msridhar wants to merge 1 commit into
spring-projects:mainfrom
msridhar:nullaway-fix
Closed

msridhar wants to merge 1 commit into
spring-projects:mainfrom
msridhar:nullaway-fix

Conversation

@msridhar

Copy link
Copy Markdown
Contributor

This fixes a warning emitted by a more recent version of NullAway. It looks like a clean fix, as the type of body is Map<String, @Nullable Object>.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue that has not yet been triaged. Contributions will not be accepted. label Apr 30, 2026
@philwebb philwebb added type: bug A general bug and removed status: waiting-for-triage An issue that has not yet been triaged. Contributions will not be accepted. labels Apr 30, 2026
@philwebb philwebb added this to the 4.0.x milestone Apr 30, 2026
@philwebb philwebb changed the title Fix warning from more recent NullAway version Nullable annotations from AbstractErrorController.getErrorAttributes are not aligned with implementation Apr 30, 2026
@philwebb philwebb self-assigned this Apr 30, 2026
See spring-projectsgh-50265

Signed-off-by: Manu Sridharan <msridhar@gmail.com>
@philwebb

Copy link
Copy Markdown
Member

Thanks @msridhar

vpavic pushed a commit to vpavic/spring-boot that referenced this pull request Apr 30, 2026
* pr/50265:
  Align @nullable in returned Map with actual implementation

Closes spring-projectsgh-50265
@wilkinsona wilkinsona modified the milestones: 4.0.x, 4.0.7 May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants