This is an automated email from the ASF dual-hosted git repository.

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

commit f31b71020aea719abbdb6bbcad84c2f02bb90deb
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed May 10 11:36:58 2023 +0100

    Update checkstyle patterns for generated parser code
    
    JSONFilter.java was not being scanned
---
 build.xml | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/build.xml b/build.xml
index 123b6002ce..a919258b03 100644
--- a/build.xml
+++ b/build.xml
@@ -871,14 +871,16 @@
         <exclude name="**/*_2.xml"/>
         <exclude name="res/checkstyle/header-al2.txt"/>
         <!-- Exclude auto-generated files -->
-        <exclude name="java/org/apache/el/parser/ELParser.jj" />
         <exclude name="java/org/apache/el/parser/ELParser*.java" />
         <exclude name="java/org/apache/el/parser/Node.java" />
-        <exclude name="java/org/apache/**/parser/JJT*ParserState.java" />
-        <exclude name="java/org/apache/**/parser/ParseException.java" />
-        <exclude name="java/org/apache/**/parser/SimpleCharStream.java" />
-        <exclude name="java/org/apache/**/parser/Token*.java" />
-        <exclude name="java/org/apache/tomcat/util/json/*.java" />
+        <exclude name="java/org/apache/tomcat/util/json/JSONParser*.java" />
+        <exclude name="**/*.jj" />
+        <exclude name="java/org/apache/**/JJT*ParserState.java" />
+        <exclude name="java/org/apache/**/ParseException.java" />
+        <exclude name="java/org/apache/**/JavaCharStream.java" />
+        <exclude name="java/org/apache/**/SimpleCharStream.java" />
+        <exclude name="java/org/apache/**/Token.java" />
+        <exclude name="java/org/apache/**/TokenMgrError.java" />
         <!-- Exclude developer specific local files -->
         <exclude name="build.properties" />
         <exclude name="res/maven/mvn.properties" />


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to