SonarCloud remove candidate rule: java:S1602 Lambdas containing only one statement should not nest this statement in a block #9929
CDellaGiusta
started this conversation in
Polls
Replies: 0 comments
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:S1602
Number of issues with this rule in Uyuni: 22
Rule: Lambdas containing only one statement should not nest this statement in a block
Software qualities impacted: MAINTAINABILITY
Why is this an issue:
Should it be removed?:
Adding a block parentheses could increase readability of a complex lambda block
All rule issues in Uyuni: https://sonarcloud.io/project/issues?languages=java&issueStatuses=OPEN%2CCONFIRMED&id=uyuni-project_uyuni&rules=java%3AS1602
Examples in our code:
7 votes ·
Beta Was this translation helpful? Give feedback.
All reactions