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

kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 8696b245a [improve][UT] Ban on import Junit4 classes (#2344)
8696b245a is described below

commit 8696b245a03cf6193f0b05f56f56c77c1e791694
Author: Zongwen Li <[email protected]>
AuthorDate: Wed Aug 3 10:06:21 2022 +0800

    [improve][UT] Ban on import Junit4 classes (#2344)
---
 tools/checkstyle/checkStyle.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/checkstyle/checkStyle.xml b/tools/checkstyle/checkStyle.xml
index ddff7c20f..edf2cc0b5 100755
--- a/tools/checkstyle/checkStyle.xml
+++ b/tools/checkstyle/checkStyle.xml
@@ -165,7 +165,8 @@
                       value="^java\.util\.logging\.Logging,
                       ^sun\.misc\.BASE64Encoder,
                       ^sun\.misc\.BASE64Decoder,
-                      ^jdk\.internal\.jline\.internal\.Nullable"/>
+                      ^jdk\.internal\.jline\.internal\.Nullable,
+                      ^org\.junit\.(?!jupiter\.).+"/>
         </module>
 
         <module name="OuterTypeFilename">

Reply via email to