SonarCloud remove candidate rule: java:S1611 Parentheses should be removed from a single lambda parameter when its type is inferred #9880
CDellaGiusta
started this conversation in
Polls
Replies: 1 comment 1 reply
-
This rule is marked as Low severity in sonarcloud. It's more related to code style/maintainability. Since it's marked as |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This poll closes Friday, April 18th 2025.
Candidate rule for removal: java:S1611
Number of issues with this rule in Uyuni: 102
Rule: Parentheses should be removed from a single lambda parameter when its type is inferred
Software qualities impacted: maintainability
Why is this an issue:
Should it be removed?:
A parenthesis around one parameter is not so noisy nor makes heavier the code to read. Possibly it could be not worth enforcing it to be fixed 102 times
All rule issues in Uyuni: https://sonarcloud.io/project/issues?languages=java&issueStatuses=OPEN%2CCONFIRMED&id=uyuni-project_uyuni&rules=java%3AS1611
Examples in our code:
9 votes ·
Beta Was this translation helpful? Give feedback.
All reactions