Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding null annotations to config.core.internal.normalization #4505

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

clinique
Copy link
Contributor

Null annotations added
Code evolution to Java 17

Signed-off-by: gael@lhopital.org <gael@lhopital.org>
Signed-off-by: gael@lhopital.org <gael@lhopital.org>
@clinique clinique requested a review from a team as a code owner December 19, 2024 10:36
Comment on lines 32 to 35
public final @Nullable Object normalize(@Nullable Object value) {
return value == null ? null : //
"".equals(value) ? "" : //
doNormalize(value);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO this makes it less readable.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@J-N-K : reversed

Signed-off-by: gael@lhopital.org <gael@lhopital.org>
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.

2 participants