You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2015/02/09 16:21:17 UTC
cxf-build-utils git commit: Updated checkstyle to support
@SuppressWarnings as well as ability to turn on/off specific tests
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 <dk...@apache.org>
Authored: Mon Feb 9 10:13:39 2015 -0500
Committer: Daniel Kulp <dk...@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"