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

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

commit 53db9497f7b057d97af7bf688ad8cb6270ad5491
Author: Cedric Champeau <cchamp...@apache.org>
AuthorDate: Tue Mar 19 20:46:11 2019 +0100

    Fix location of checkstyle rule
---
 config/checkstyle/checkstyle.xml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
index c581433..18e6dc6 100644
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -166,6 +166,12 @@
         <!-- add below in eventually for consistency -->
         <!--<module name="ArrayTypeStyle"/>-->
 
+        <module name="SuppressionCommentFilter">
+            <property name="offCommentFormat" value="CHECKSTYLE.OFF\: 
([\w\|]+)"/>
+            <property name="onCommentFormat" value="CHECKSTYLE.ON\: 
([\w\|]+)"/>
+            <property name="checkFormat" value="$1"/>
+        </module>
+
     </module>
     <!-- Item 6 - Avoid finalizers -->
     <!-- this will not find violations that contain linebreaks -->
@@ -181,11 +187,6 @@
         <property name="allowLegacy" value="true"/>
     </module>
 
-    <module name="SuppressionCommentFilter">
-        <property name="offCommentFormat" value="CHECKSTYLE.OFF\: ([\w\|]+)"/>
-        <property name="onCommentFormat" value="CHECKSTYLE.ON\: ([\w\|]+)"/>
-        <property name="checkFormat" value="$1"/>
-    </module>
 <!--
     <module name="au.com.redhillconsulting.simian.SimianCheck">
         <property name="threshold" value="8"/>

Reply via email to