Skip to content

Refactor null checks to use Objects::nonNull for improved readability#2359

Open
rikw22 wants to merge 1 commit intospring-projects:mainfrom
rikw22:refactor/replace-null-checks-to-objects-nonNull
Open

Refactor null checks to use Objects::nonNull for improved readability#2359
rikw22 wants to merge 1 commit intospring-projects:mainfrom
rikw22:refactor/replace-null-checks-to-objects-nonNull

Conversation

@rikw22
Copy link

@rikw22 rikw22 commented Sep 2, 2025

This PR replaces lambda expressions it -> it != null with method references Objects::nonNull in three files for improved code readability.

Signed-off-by: Ricardo Walter <ricardoa.walter@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant