Since checkstyle 13.9.0 we have to switch from JavadocStyle to SummaryJavadoc due to #20610
After the update to 13.9.0 we removed
<module name="JavadocStyle">
<property name="checkHtml" value="false"/>
</module>
in TreeWalker and replaced it with
<module name="SummaryJavadoc"/>
Since this change we have more checkstyle errors because with JavadocStyle it was allowed to have an Empty summary if @PARAM and/or @return was documented.
With JavadocStyle it was also possible to end a sentence with . or ?.
With SummaryJavadoc javadocs like
/**
* Are you sure?
**/
boolean doSomehing = false;
are invalid.
It would be nice if SummaryJavadoc has an compatibility-option for the old behavior.
Since checkstyle 13.9.0 we have to switch from JavadocStyle to SummaryJavadoc due to #20610
After the update to 13.9.0 we removed
in TreeWalker and replaced it with
Since this change we have more checkstyle errors because with JavadocStyle it was allowed to have an Empty summary if @PARAM and/or @return was documented.
With JavadocStyle it was also possible to end a sentence with
.or?.With SummaryJavadoc javadocs like
are invalid.
It would be nice if SummaryJavadoc has an compatibility-option for the old behavior.