Issue #6971: Added implementation for NoArrayTrailingCommaCheck#7228
Conversation
|
@romani I have added an implementation of NoArrayTrailingCommaCheck. |
|
@SD1998 Thanks. It is best we try to finish the already opened PRs. One is waiting on CI to pass. |
There was a problem hiding this comment.
Please review failures in Teamcity CI (you can login as guest)
Please review Travis CI for failures, please address them.
In Travis there should be only one failure - at ensure that all modules are used in no exception configs
but please send PR to contribution repo also, we will merge this PR and contribution PR together. Please share link to PR in this PR description.
items to improve:
f6bebc2 to
2fff8d8
Compare
0c49436 to
83dafc6
Compare
9c95592 to
15614f6
Compare
|
@SD1998 , CI need to be green to let me merge, Only one CI failure is expected - about new Check presence in contribution config, you did checkstyle/contribution#417 |
There was a problem hiding this comment.
See comment above
In addition .... New Checks need to make sure they are compliant with xpath suppression, please add test to https://github.com/checkstyle/checkstyle/tree/master/src/it/java/org/checkstyle/suppressionxpathfilter
|
@SD1998 , please rebase and resolve conflict. please add xpath tests. |
|
@SD1998 , ping. |
d548433 to
ad764a0
Compare
|
@romani |
|
yes, looks like we have NO support in Xpath https://github.com/checkstyle/checkstyle/blob/master/src/it/java/org/checkstyle/suppressionxpathfilter/AbstractXpathTestSupport.java#L55 for Checks that report only line number. It is kind of reasonable as xpath imply detection of exact AST where violation is happening.
please add Check to checkstyle_checks.xml but with "ignore" severity, in comment above explain that is conflicts with another Check.
we migrated to Junit5 recently, please use junit 5 types, look at other Tests for examples. |
See #5777 |
ad764a0 to
51a3978
Compare
|
@romani I have made all the changes. |
51a3978 to
c19d354
Compare
|
upps .... I did not notice your comment and pushed all changes myself to your remote branch with force. Please push one more time from your local. Looks like I did the same code changes as you..... I thought that you abandoned your PR. |
74607be to
c19d354
Compare
|
@romani Done. |
c19d354 to
0f94791
Compare
|
Please satisfy spell checker by whitelisting of word https://travis-ci.org/checkstyle/checkstyle/jobs/629058068#L281
I see no violations from your Check. |
0f94791 to
88b9702
Compare
|
@romani I have updated the regression report. |
88b9702 to
89f393a
Compare
CI failed to notice that PR is not for checks-nonjavadoc-error.xml . |
|
validation is not ideal .... |
Fix for issue #6971.
Contribution PR: checkstyle/contribution#436
Regression report:
https://sd1998.github.io/checkstyle-regression/Fix-6971/index.html
Base config:
https://sd1998.github.io/checkstyle-regression/Fix-6971/base_config.xml
Patch config:
https://sd1998.github.io/checkstyle-regression/Fix-6971/patch_config.xml
Report repo:
https://github.com/sd1998/checkstyle-regression/tree/master/Fix-6971