Repository navigation
Issue #20610: remove JavadocStyleCheck - #20582
Conversation
|
GitHub, generate report |
|
Report generation failed on phase "make_report", |
|
GitHub, generate report |
|
Report without Javadoc parsing suppression: |
|
@gianmarcoschifone , please open issue on this false positive this covered at https://checkstyle.org/checks/javadoc/summaryjavadoc.html#SummaryJavadoc a way better |
|
as we remove properties already from this Check, lets remove fist sentence validation also and two properties for it. |
|
GitHub, generate website |
@romani So this check will only be used for checking empty Javadoc? |
|
Such a use less role .... I even do not see what vilation it produces on empty. do we have other Check that cover this validation ? We can remove it completely but we have to give users something instead. I think summary |
|
javadoc.empty=Javadoc has empty description section. (Summary Javadoc does similar thing with different message) @gianmarcoschifone Please share examples how extraHtml and incompleteTag works and whether any check cover them or not |
@mahfouz72 I had shared here some information, please see: #19145 (comment) |
e63c87d to
66db00f
Compare
this means that Check is in use ..... and we need to migrate this project off JavadocStyle.
we just need to update our configs in https://github.com/checkstyle/contribution/tree/master/checkstyle-tester
this needs to be hacked a bit to exclude Check we remove. |
Import of #26600 **Original PR description:** Removes `JavadocStyle` from the Checkstyle configuration because the check is being removed from Checkstyle in PR checkstyle/checkstyle#20582. No replacement is added because both first-sentence and HTML checks were disabled in this config. ### Migration note `JavadocStyle` is removed because its remaining useful validations are already covered elsewhere. Users who relied on the first-sentence/period-at-end validation or empty Javadoc validation should use [`SummaryJavadoc`](https://checkstyle.org/checks/javadoc/summaryjavadoc.html) instead. HTML tag validation is intentionally not replaced here, as it will be handled automatically by `SummaryJavadoc` while parsing Javadoc comments. Imported changes: - 8823d75 Remove obsolete JavadocStyle check Closes #26600 Co-authored-by: gianmarco <[email protected]> GitOrigin-RevId: ff0a5d2530ad2336bb9d70ef12089cb11f1302ea
ed19485 to
2f81714
Compare
9396773 to
146ffcf
Compare
|
please rebase to address f9e87e3 |
|
@gianmarcoschifone , please remove usage of your forks+branch for projects where your PRs are merged. |
|
@romani can be done for all but not htmlunit, because CI will fail cause of new violations for summaryjavadoc introduction. |
d2e6059 to
6e0cc30
Compare
mahfouz72
left a comment
There was a problem hiding this comment.
LGTM. Please add the configs to the issue description showing how to use SummaryJavadoc to replace the removed check. This will help users migrate.
|
@mahfouz72 in issue description there is currently: Migration guidanceUsers should remove: <module name="JavadocStyle"/>If they want to keep first sentence and empty Javadoc validation, they should add: <module name="SummaryJavadoc"/>could you please specify better what you want me to add? |
|
@gianmarcoschifone, this is good, and this is what I meant. Sorry, I didn’t notice this, I was looking at the old issue. |
|
@gianmarcoschifone , please rebase. |
romani
left a comment
There was a problem hiding this comment.
All good. Consider it as done.
I will find proper time to merge it, we need to release all that we merged from last release not let users upgrade without big breaking changes.
|
after #20663 I will rebase this otherwise it will keep having conflicts |
|
@gianmarcoschifone PR is merged can you rebase now? |
romani
left a comment
There was a problem hiding this comment.
I will find good time to merge, I am waiting few PRs to be merged to make release.
|
rebased |
closes #20610
Contribution PR: checkstyle/contribution#1085