Refine nullability of `Assert#noNullElements` by ngocnhan-tran1996 · Pull Request #35868 · spring-projects/spring-framework
Navigation Menu
{{ message }}
spring-projects / spring-framework Public
- Notifications You must be signed in to change notification settings
- Fork 38.9k
Closed
ngocnhan-tran1996 wants to merge 1 commit intospring-projects:mainfrom
Closed
Refine nullability of Assert#noNullElements#35868
ngocnhan-tran1996 wants to merge 1 commit intospring-projects:mainfrom
Refine nullability of Assert#noNullElements#35868
ngocnhan-tran1996 wants to merge 1 commit intospring-projects:mainfrom
Conversation
Copy link
Contributor
From reference
@Nullable Object @Nullable [] array means both individual elements and the array can be null.
https://docs.spring.io/spring-framework/reference/core/null-safety.html
I think we should to add @Nullable because both the array and its elements may be null.
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
spring-projects-issues
added
the
status: waiting-for-triage
label
Nov 22, 2025
sdeleuze
self-assigned this
and removed status: waiting-for-triage
An issue we've not yet triaged or decided onlabels
Nov 24, 2025
sdeleuze
added this to the
7.0.2 milestone
sdeleuze
changed the title
Add
Refine nullability of @Nullable to clarify nullabilityAssert#noNullElements
sdeleuze
closed this
in
c599775
Copy link
Contributor
sdeleuze
commented
Nov 24, 2025
sdeleuze commented
Nov 24, 2025Merged, thanks!
ngocnhan-tran1996
deleted the
add-nullable
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment