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

slfan1989 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 488376c13b1 HADOOP-19502. Add RegexpSingleline module to 
checkstyle.xml. (#7505) Contributed by hfutatzhanghb.
488376c13b1 is described below

commit 488376c13b1b374159b07db55ace2e7edc265ac8
Author: hfutatzhanghb <hfutzhan...@163.com>
AuthorDate: Tue Mar 25 13:24:05 2025 +0800

    HADOOP-19502. Add RegexpSingleline module to checkstyle.xml. (#7505) 
Contributed by hfutatzhanghb.
    
    Signed-off-by: Shilun Fan <slfan1...@apache.org>
---
 hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml 
b/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
index ca8d137dd5e..574c48d4286 100644
--- a/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
+++ b/hadoop-build-tools/src/main/resources/checkstyle/checkstyle.xml
@@ -73,6 +73,11 @@
         <property name="max" value="100"/>
     </module>
 
+    <module name="RegexpSingleline">
+        <property name="format" value="\s+$"/>
+        <property name="severity" value="warn"/>
+    </module>
+
     <module name="TreeWalker">
 
         <module name="SuppressWarningsHolder"/>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to