You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by yx...@apache.org on 2023/04/12 10:13:52 UTC

[shardingsphere] branch master updated: Refactor : disable the massive magic number check in checkstyle rules (#25135) (#25140)

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 <su...@apache.org>
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 <de...@shardingsphere.apache.org>
---
 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" />