You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/10/12 14:28:15 UTC

[tomcat] 03/03: Update import rules to catch issues like BZ 64805

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

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

commit 640dea16d769617605eb47b4f5e71064c89b36e7
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Oct 12 15:21:18 2020 +0100

    Update import rules to catch issues like BZ 64805
    
    https://bz.apache.org/bugzilla/show_bug.cgi?id=64805
---
 res/checkstyle/org-import-control.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/res/checkstyle/org-import-control.xml b/res/checkstyle/org-import-control.xml
index 3a3dde0..8723aec 100644
--- a/res/checkstyle/org-import-control.xml
+++ b/res/checkstyle/org-import-control.xml
@@ -40,9 +40,9 @@
     <allow pkg="javax.ejb"/>
     <allow pkg="javax.persistence"/>
     <allow pkg="javax.servlet"/>
+    <disallow pkg="org\.apache\.catalina\.ha.*" regex="true"/>
+    <disallow pkg="org\.apache\.catalina\.tribes.*" regex="true"/>
     <allow pkg="org.apache.catalina"/>
-    <disallow pkg="org.apache.catalina.ha"/>
-    <disallow pkg="org.apache.catalina.tribes"/>
     <allow pkg="org.apache.coyote"/>
     <allow pkg="org.apache.juli"/>
     <allow pkg="org.apache.naming"/>


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