Issue #11357: Report correct violation in lambda return#11409
Conversation
5666a6b to
87e7520
Compare
nrmancuso
left a comment
There was a problem hiding this comment.
Please generate check regression report, you can find details here: https://github.com/checkstyle/contribution/tree/master/checkstyle-tester#report-generation
...e/checks/coding/unnecessaryparentheses/InputUnnecessaryParenthesesCheckSwitchExpression.java
Outdated
Show resolved
Hide resolved
...ools/checkstyle/checks/coding/unnecessaryparentheses/InputUnnecessaryParenthesesLambdas.java
Outdated
Show resolved
Hide resolved
87e7520 to
11c1982
Compare
...ools/checkstyle/checks/coding/unnecessaryparentheses/InputUnnecessaryParenthesesLambdas.java
Outdated
Show resolved
Hide resolved
c8b6bf5 to
cdec517
Compare
|
@nick-mancuso Before I generate the regression report, could you check if the config is correct like this? |
Config looks good, you don't have to specify the projects file, we have default for github action. |
|
GitHub, generate report |
|
Please extend your new input file to include cases like: |
…h unnecessary parentheses
cdec517 to
fc17e52
Compare
Should be done! |
|
Ci failure is not related, but is consistent: https://checkstyle.semaphoreci.com/jobs/92d3c7fd-7382-4984-991a-4ee4eb4da260
I suppose this is a problem downloading some ANTLR dependency. |
Fixes #11357. Had to fix some tests, also in the SwitchExpression test
Diff Regression config: https://gist.githubusercontent.com/OttoKaaij/363ce8a2a1007b4a3856cda24bb4e1c6/raw/4e6e0ec1c7b56bc728034e36ec498527c7aa2f8d/my_checks.xml
Regression report: https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/cdec517_2022140934/reports/diff/index.html