Skip to content

Fix PMD UselessParentheses warnings #93

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

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

Conversation

ic0ns
Copy link
Contributor

@ic0ns ic0ns commented Jun 17, 2025

Summary

  • Remove unnecessary parentheses in ExecutorConfig.isMultithreaded()
  • Remove unnecessary parentheses in ReportPrinter.prettyAppendUnderlined() methods
  • Remove unnecessary parentheses in PropertyResultRatingInfluencer boolean methods

Test plan

  • Code compiles successfully
  • All existing tests pass
  • PMD UselessParentheses warnings eliminated (5 violations fixed)
  • Code formatting applied successfully

Improves code readability and follows PMD best practices for Java code style.

- Remove unnecessary parentheses in ExecutorConfig.isMultithreaded()
- Remove unnecessary parentheses in ReportPrinter.prettyAppendUnderlined() methods
- Remove unnecessary parentheses in PropertyResultRatingInfluencer boolean methods
- Improves code readability and follows PMD best practices
- Fixes 5 PMD UselessParentheses violations
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