cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject cxf-build-utils git commit: Updated checkstyle to support @SuppressWarnings as well as ability to turn on/off specific tests
Date Mon, 09 Feb 2015 15:21:17 GMT
Repository: cxf-build-utils
Updated Branches:
  refs/heads/master b3cb66677 -> af0066455


Updated checkstyle to support @SuppressWarnings as well as ability to turn on/off specific
tests


Project: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/commit/af006645
Tree: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/tree/af006645
Diff: http://git-wip-us.apache.org/repos/asf/cxf-build-utils/diff/af006645

Branch: refs/heads/master
Commit: af00664550bdbf8f0e2fb4f817bc59fd2da05d99
Parents: b3cb666
Author: Daniel Kulp <dkulp@apache.org>
Authored: Mon Feb 9 10:13:39 2015 -0500
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Mon Feb 9 10:17:42 2015 -0500

----------------------------------------------------------------------
 buildtools/src/main/resources/cxf-checkstyle.xml | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-build-utils/blob/af006645/buildtools/src/main/resources/cxf-checkstyle.xml
----------------------------------------------------------------------
diff --git a/buildtools/src/main/resources/cxf-checkstyle.xml b/buildtools/src/main/resources/cxf-checkstyle.xml
index 03176f1..6925d8a 100644
--- a/buildtools/src/main/resources/cxf-checkstyle.xml
+++ b/buildtools/src/main/resources/cxf-checkstyle.xml
@@ -31,6 +31,8 @@
 -->
 
 <module name="Checker">
+    <property name="severity" value="error"/>
+    
 	<!-- Checks whether files end with a new line.                        -->
 	<!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
 	<!--
@@ -279,8 +281,18 @@
             <property name="lineWrappingIndentation" value="0"/>
 		</module>
 		<!--<module name="RequiredRegexp">-->
+        <module name="SuppressWarningsHolder" />
 	</module>
-    <module name="SuppressionCommentFilter"/>
+    <module name="SuppressionCommentFilter">
+        <property name="offCommentFormat" value="CHECKSTYLE\:OFF"/>
+        <property name="onCommentFormat" value="CHECKSTYLE\:ON"/>
+    </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="SuppressWarningsFilter"/>
     <!-- Header checks -->
     <module name="Header">
       <property name="header"


Mime
View raw message