(tomcat) branch 11.0.x updated: Update for latest Checkstyle version

[email protected]
Newsgroups gmane.comp.jakarta.tomcat.devel
Message-ID <178611947886.1275388.16753597736132744102@gitbox3-he-fi.apache.org>
This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/11.0.x by this push:
     new 18599e5903 Update for latest Checkstyle version
18599e5903 is described below

commit 18599e5903490f0f333015026724b8d292ed3441
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Aug 7 17:15:58 2026 +0100

    Update for latest Checkstyle version
---
 res/checkstyle/checkstyle.xml      | 12 ++++--------
 res/checkstyle/test-checkstyle.xml |  7 +------
 2 files changed, 5 insertions(+), 14 deletions(-)

diff --git a/res/checkstyle/checkstyle.xml b/res/checkstyle/checkstyle.xml
index 2817223348..c3ab4816cc 100644
--- a/res/checkstyle/checkstyle.xml
+++ b/res/checkstyle/checkstyle.xml
@@ -88,19 +88,12 @@
     <module name="InvalidJavadocPosition"/>
     <module name="JavadocBlockTagLocation"/>
     <module name="JavadocContentLocationCheck"/>
+    <module name="JavadocLeadingAsteriskAlign"/>
     <module name="JavadocMethod">
         <property name="accessModifiers" value="public,protected"/>
     </module>
     <module name="JavadocMissingLeadingAsterisk"/>
     <module name="JavadocMissingWhitespaceAfterAsterisk"/>
-    <module name="JavadocStyle">
-        <!-- Disabled. Large number of errors with minimal benefit to be gained by fixing at this time. ~1500 errors -->
-        <property name="checkFirstSentence" value="false"/>
-        <!-- Disabled. Large number of errors with minimal benefit to be gained by fixing at this time. ~1400 errors -->
-        <property name="checkEmptyJavadoc" value="false"/>
-        <!-- Does not handle HTML tags in {@code ...} correctly -->
-        <property name="checkHtml" value="false"/>
-    </module>
     <!-- ~9000 errors
     <module name="MissingJavadocMethod"/>
     -->
@@ -112,6 +105,9 @@
     <module name="RequireEmptyLineBeforeBlockTagGroup"/>
     -->
     <module name="SingleLineJavadoc"/>
+    <!-- ~1900 errors
+    <module name="SummaryJavadoc"/>
+    -->
 
     <!-- Miscellaneous -->
     <!-- ~3300 errors
diff --git a/res/checkstyle/test-checkstyle.xml b/res/checkstyle/test-checkstyle.xml
index 6b2ef6b562..c9884730c3 100644
--- a/res/checkstyle/test-checkstyle.xml
+++ b/res/checkstyle/test-checkstyle.xml
@@ -81,17 +81,12 @@
     <module name="InvalidJavadocPosition"/>
     <module name="JavadocBlockTagLocation"/>
     <module name="JavadocContentLocationCheck"/>
+    <module name="JavadocLeadingAsteriskAlign"/>
     <module name="JavadocMethod">
         <property name="accessModifiers" value="public,protected"/>
     </module>
     <module name="JavadocMissingLeadingAsterisk"/>
     <module name="JavadocMissingWhitespaceAfterAsterisk"/>
-    <module name="JavadocStyle">
-        <property name="checkFirstSentence" value="false"/>
-        <property name="checkEmptyJavadoc" value="false"/>
-        <!-- Does not handle HTML tags in {@code ...} correctly -->
-        <property name="checkHtml" value="false"/>
-    </module>
     <module name="NonEmptyAtclauseDescription"/>
     <module name="SingleLineJavadoc"/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.