Issue #18064: added ArrayBracketNoWhitespace check - #18240
Conversation
|
Please read and watch videos at Starting_Development. |
|
Hi @romani , |
|
Just debug test and trace all lines to understand why there is no violation. All is debug-able. |
|
@saad please make sure commit should be only one so, please squash all commits into single one. |
|
@M-SaaD-H please push the changes so we can see what's wrong with XpathRegression tests. It's little hard to understand from images. |
|
@mohitsatr I have pushed the code. |
|
Hi @mohitsatr can you please look into the CIs, I can't really get why they are failing. |
|
Hello Saad my advice is that you have to be run the command mvn clean verify again and run this command again and again until BUILD SUCCESS will not encountered because same error also came in my checks so I simply did to ran command mvn clean verify and when BUILD SUCCESS showing then I push my code and all checks passed. |
|
Hi @SURYANSHUAGRAWAL2006 , |
|
For the run-inspections failure open the ci failes they have given this link you will se the inspections result open those links and fix those issues Similarly for other CI failures check the logs |
|
Hello Saad I saw your build failure this is occurring not because of your code or check style it is because of maven problem so, Kindly rerun all CI best way close the pr then reopen the pr then all CI will run again and then you check all CI is passing or not but I am sure this is not your code problem rather than it is problem of maven internal. |
|
Hi @romani |
ce465be to
b2c32cd
Compare
bf67dc9 to
8bb25c4
Compare
|
@M-SaaD-H Green CI is a good sign. Take to run regression. Please go through the section Executing generation using github action and try to generate the report. Example PR: #17329 |
47b8d0f to
4d1133d
Compare
|
GitHub, generate report |
|
Report generation failed on phase "make_report", |
|
Report generation failed on phase "make_report", |
|
@M-SaaD-H Config in the Pr's description is not valid. It has to be like: https://gist.githubusercontent.com/mohitsatr/0e04070f847926ea44bf7eda88706807/raw/f9470db307d730a651e9c93cad776d6b592839e8/textblockgooglestyleformatting.xml. Replace Textb...Check with your check |
d4d3846 to
0dad8c0
Compare
|
@romani |
|
@romani , |
200e597 to
007f23b
Compare
|
@mahfouz72 , please help to review. |
|
@M-SaaD-H , please rebase to resove conflict, while we are waiting for review. |
|
Hi @mahfouz72 , I've rebased the PR on the latest master and resolved the conflicts. It's ready for another review. |
|
GitHub, generate report |
|
Found one false positive here for |
|
GitHub, generate report |
|
@romani , |
|
@romani , gentle ping on this. Please let me know if there's anything else I need to address. |
|
Github, generate site |
There was a problem hiding this comment.
Should we add this check in google-style config also and it tests? is google formatter fixes this?
There was a problem hiding this comment.
Yes, but not in this PR
| <suppress id="noTrailingWhitespace" | ||
| files="/InputArrayBracketNoWhitespaceDefault\.java"/> | ||
| <suppress id="noTrailingWhitespace" | ||
| files="/InputJavadocParagraphCorrect\.java"/> |
There was a problem hiding this comment.
Why do we have those, I don't see where are these input files
There was a problem hiding this comment.
Please add this case if not added already
|
GitHub, generate report |
|
uhh, this insane , I only now noticed that this is two different PRs for same issue. here is second that also close to merge state: #19541 |
|
Failing CI is unrelated. |
|
@mahfouz72 , please evaluate this PR #19541 also, we need to take best from it to this PR. |
fixes #18064
New module config: https://gist.githubusercontent.com/M-SaaD-H/4550b2874ee138f74ef18ca95b45c596/raw/7091fa5650a9bb166694a74a36ce601e7beeef7e/arraybracketnowhitespace.xml
Contribution repo: checkstyle/contribution#1007