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

yx9o pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 6ba04e7893d Refactor : disable the massive magic number check in 
checkstyle rules (#25135) (#25140)
6ba04e7893d is described below

commit 6ba04e7893dc64cfd657665578405fed6741d9d1
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Wed Apr 12 18:13:45 2023 +0800

    Refactor : disable the massive magic number check in checkstyle rules 
(#25135) (#25140)
    
    Co-authored-by: shardingsphere <[email protected]>
---
 src/resources/checkstyle.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/resources/checkstyle.xml b/src/resources/checkstyle.xml
index e4d5abe2290..e26d59497f3 100644
--- a/src/resources/checkstyle.xml
+++ b/src/resources/checkstyle.xml
@@ -135,6 +135,9 @@
         <module name="UnnecessarySemicolonInTryWithResources" />
         <module name="UnusedLocalVariable" />
         <module name="VariableDeclarationUsageDistance" />
+        <module name="MagicNumber" >
+            <property name="severity" value="info" />
+        </module>
         
         <!-- Imports -->
         <module name="AvoidStarImport" />

Reply via email to