Issue #17663: Fixing False negatives (indentation)#18784
Issue #17663: Fixing False negatives (indentation)#18784aclfe wants to merge 1 commit intocheckstyle:masterfrom
Conversation
|
So I did fix for switch expression lambda indentation. I made changes, they're working correctly. But because they're working correctly, now it's catching previously missed violations in external projects like Kafka and PMD that test against checkstyle. The CI jobs are failing since they're catching these errors. Here are examples of where the errors are being thrown on legitimate places: no-error-xwiki:
Kafka has similar violations. @vivek-0509 you're an expert with indentation mutation logic, do these look right to you? Since you have the context fresh in your mind, do you think these errors in PMD look like valid violations to you, or is it accidentally too strict? |
we should send them fixes by PRs, ideally they can merge it before we finish this PR. If behavior is not compatible, we still create PR, and we can update CI jobs to use your PRs branch to let CI pass on your fixes, and such projects will merge PRs after we release your fix. |
|
Github, generate report for Indentation/all-examples-in-one |
|
Failed to parse comment command. |
The violations are valid. It's interesting, even such a minimal change in I'll start sending PRs to the other repos |
Issue #17663: Fixing False negatives (indentation)
In the original issue #17663, there were 2 false negatives. One was with arrow lambda expression as such
the other one was with MethodCallHandler:
Both false negatives have been addressed in the changes