Skip to content

Conversation

@Pankraz76
Copy link
Contributor Author

wip

return !isEmpty(value) ? value : DEFAULT_CHILDREN_COMBINATION_MODE;
}

@Nullable
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Pankraz76 Pankraz76 force-pushed the error-prone-pmd branch 2 times, most recently from 709ca4a to 5b73e99 Compare May 21, 2025 19:14
@slachiewicz
Copy link
Member

Too big a list of pmd exclusions.

Please avoid opening PR if You see lots of planned updates, to avoid noise and unnecessary notifications.
Check if Your build is green before opening PR.

Thank you for understanding

@Pankraz76
Copy link
Contributor Author

Pankraz76 commented May 22, 2025

avoid noise and unnecessary notifications

why cant we apply this valuable pattern inside the code too?

true ? false
is the logically same like
((true) ? (((false)))))

which one seems simpler?

image

what a coincidence that all languages agree upon the same:

image

@Pankraz76
Copy link
Contributor Author

@Pankraz76
Copy link
Contributor Author

@Pankraz76
Copy link
Contributor Author

@Pankraz76
Copy link
Contributor Author

@Pankraz76
Copy link
Contributor Author

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