Issue #5148: Add MissingJavadocType to google_checks.xml#8987
Conversation
|
Github, generate report |
|
Report generation job failed on phase "make_report", step "Download files". |
|
Github, generate report |
|
Report generation job failed on phase "make_report", step "Download files". |
|
Github, generate report |
|
Report generation job failed on phase "make_report", step "Download files". |
|
@strkkk any ideas what's going on with "generate report"? Seems to be a network error, what can we do? |
|
@nmancus1 no idea, may be try again Upd: I restarted it and it failed again. |
|
Report generation job failed on phase "make_report", step "Download files". |
Marked as ready for review, I will try again. |
|
Github, generate report |
|
Report generation job failed on phase "make_report", step "Download files". |
|
Looks like parsing of description is broken Update: I made sure that there is space between name of link and link, not any other symbol. |
|
Github, generate report |
|
@nmancus1 , as you do no changes in check logic, diff does not make sense, as nothing is changed. And we need to make sure there is no false positives in report. |
|
Github, generate report |
|
Report generation job failed on phase "make_report", step "Generate report". |
|
Above failure caused by failure to clone mercurial openjdk repos: I will comment them out for now. I have noticed this failure several times before, should we consider switching to one of the mirrors on github? |
|
github, generate report |
|
github, generate report |
|
@nmancus1 , we forgot about classes inside methods please add one more test in our Input to place class in public method of class. It should not be considered as public in classes for sure. |
I saw this, but it doesn't make sense, does it? I don't see those violation locally, and indentation level of those should be 4, right? |
Since local classes are only visible within the enclosing block, this config should not apply to them. I will exclude
This is correct, since all members of public interfaces are implicitly public. |
|
github, generate report |
99d388f to
6160698
Compare
There was a problem hiding this comment.
last item:
I saw this, but it doesn't make sense, does it? I don't see those violation locally, and indentation level of those should be 4, right?
no, should be 2, as you used this class in execution by Google style (see update in assembly-run-all-jar)) and Google style have indentation as +2 in blocks.
https://google.github.io/styleguide/javaguide.html#s4.2-block-indentation
Please update
diff Report is good.
I updated issue with migration notes to suggest filter for users.
6160698 to
2e41edb
Compare
Thanks for explaining. I meant to ask about that, now I understand.
It was good to put it in the initial post for visibility, thanks a lot. |
|
CodeQL is failed with: restarted ... |
|
github, generate site |
pbludov
left a comment
There was a problem hiding this comment.
I'm OK to merge if CI passes.
|
@nmancus1 , please fix https://travis-ci.org/github/checkstyle/checkstyle/jobs/744655385#L724 |
2e41edb to
f2ef1a3
Compare
Done, I should have ran that locally, apologies. |

Issue #5148: Add MissingJavadocType to google_checks.xml
ATTENTION quotes from style guide:
This PR is a continuation of #8105.
Diff Regression projects: https://gist.githubusercontent.com/nmancus1/32ddbff9e69986ac2fcbbeff7def2f80/raw/8480445657f1d215e683dbb6b14c1577bbd44e6b/projects-to-test-on.properties
Diff Regression config: https://gist.githubusercontent.com/nmancus1/f0a81b257e7f37f23ea4abc2b17ece6f/raw/a5231cef69f0ae909ae0274c2f189b74899c6be8/base.xml
Diff Regression patch config: https://gist.githubusercontent.com/nmancus1/a84775a4bc42a6a3a60899f355d3cf15/raw/76e1c9c783c7160f58c7475ebdded06ceec81f93/patch.xml