Closed nrmancuso closed 3 years ago
the changes in this PR are dependent on the changes at checkstyle/checkstyle#10104
This means this PR is dependent on 4 things before it can be merged: 1) checkstyle/checkstyle#10104 must be merged (UPDATE: DONE) 2) checkstyle must release those changes (DONE - merged and released as 8.44) 3) eclipse-cs must release with that new version of checkstyle 4) The version of checkstyle in sevntu must update to the new eclipse-cs version (see https://github.com/sevntu-checkstyle/sevntu.checkstyle/blob/master/sevntu-checks/pom.xml#L18-L19 )
Added blocked label because of https://github.com/sevntu-checkstyle/sevntu.checkstyle/pull/851#issuecomment-861974113 to prevent accidental merging. Label can be removed when this PR can be safely merged.
Hi, I am a beginner at this issue can you help me. How to start it?
Related to https://github.com/checkstyle/checkstyle/pull/10104
Original reports from Checkstyle PR showing regression:
https://nmancus1.github.io/issue-10100_check_diff_reports_2021_06_11/diff_sevntu-check-regression_part_1/index.html
NoMainMethodInAbstractClassCheck
- new NPEForbidWildcardAsReturnType
- lots of new legit violations, we were missing violations on methods likepublic Class<?>[] getClasses() {}
InnerClass
- symmetrical column changesStaticMethodCandidate
- new violations, we were missing violations previously on methods withString
return typehttps://nmancus1.github.io/issue-10100_check_diff_reports_2021_06_11/diff_sevntu-check-regression_part_2/index.html
MoveVariableInsideIf
- symmetrical column number changesSimpleAccessorNameNotation
- symmetrical column number changesCustomDeclarationOrder
- symmetrical column number changesNew reports showing no regression:
https://nmancus1.github.io/issue-10100_check_diff_reports_2021_06_16/diff_sevntu-check-regression_part_1/index.html
Symmetric column changes and new legitimate violations
NoMainMethodInAbstractClassCheck
- NPE is gonehttps://nmancus1.github.io/issue-10100_check_diff_reports_2021_06_16/diff_sevntu-check-regression_part_2/index.html
Symmetric column changes only
All other changes were because of failing existing unit tests (found via
mvn clean verify
).I will let the build fail to show that the changes in this PR are dependent on the changes at https://github.com/checkstyle/checkstyle/pull/10104, then I will change the Checkstyle repo to my PR to show that all pass.
Failed build (I had to add
mvn clean verify
to CI):Full log at https://app.wercker.com/checkstyle/sevntu.checkstyle/runs/build/60c9e32c237ec900086455fa?step=60c9e3678ea84100087595c9
mvn clean verify
is passing with Checkstyle version from https://github.com/checkstyle/checkstyle/pull/10104