Skip to content

Add @Nullable annotations required when treating Map.remove as returning @Nullable#37067

Open
msridhar wants to merge 1 commit into
spring-projects:mainfrom
msridhar:map-remove-nullable
Open

Add @Nullable annotations required when treating Map.remove as returning @Nullable#37067
msridhar wants to merge 1 commit into
spring-projects:mainfrom
msridhar:map-remove-nullable

Conversation

@msridhar

Copy link
Copy Markdown
Contributor

The next release of NullAway treats Map.remove as returning @Nullable, leading to errors at these locations. Fix them by marking the return type as @Nullable.

…ing @nullable

Signed-off-by: Manu Sridharan <msridhar@gmail.com>
@msridhar
msridhar force-pushed the map-remove-nullable branch from 9d50730 to a2ca851 Compare July 18, 2026 19:35
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged or decided on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants