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

Reduce SAT warnings #4567

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

holgerfriedrich
Copy link
Member

@holgerfriedrich holgerfriedrich commented Jan 19, 2025

Replaces #4555.
Address PMD warnings.
Cleanup PMD suppressions, add local // NOPMD tags where readability is preferred over PMD rule.

After @J-N-K s comment about code restructuring to avoid SimplifyBooleanReturn, the related changes proposed in #4555 are no longer intended.
I agree that complying to this warning leads to code that is harder to read and understand. I already had ignored some of those warnings to stick with better readability when I created #4555. But maybe it is better not to go for those changes at all.

I could bring the rule set to core and do this change already now, but I think it does not make sense to duplicate the ruleset.
So I will propose to remove SimplifyBooleanReturn warning from the standard rule set in next SAT release.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
@holgerfriedrich holgerfriedrich marked this pull request as ready for review January 19, 2025 14:30
@holgerfriedrich holgerfriedrich requested a review from a team as a code owner January 19, 2025 14:30
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