[java-opensaml] branch master updated: JPAR-153 - Update checkstyle.xml for LineLength control

Ian Young ian at iay.org.uk
Thu Jul 9 15:43:09 UTC 2020


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch master
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=619ddca11c3c52f6ff9a70ce3c279cf16532ca9d

The following commit(s) were added to refs/heads/master by this push:
       new  619ddca11 JPAR-153 - Update checkstyle.xml for LineLength control
619ddca11 is described below

commit 619ddca11c3c52f6ff9a70ce3c279cf16532ca9d
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Jul 9 16:42:34 2020 +0100

    JPAR-153 - Update checkstyle.xml for LineLength control
    
    https://issues.shibboleth.net/jira/browse/JPAR-153
---
 opensaml-parent/resources/checkstyle/checkstyle.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/opensaml-parent/resources/checkstyle/checkstyle.xml b/opensaml-parent/resources/checkstyle/checkstyle.xml
index f3f13f61c..68c57c0c4 100644
--- a/opensaml-parent/resources/checkstyle/checkstyle.xml
+++ b/opensaml-parent/resources/checkstyle/checkstyle.xml
@@ -10,6 +10,11 @@
 -->
 <module name="Checker">
   <property name="severity" value="warning"/>
+  <module name="SuppressWithPlainTextCommentFilter">
+    <property name="offCommentFormat" value="\bCheck[Ss]tyle:\s*([\w|]+)\s+OFF\b"/>
+    <property name="onCommentFormat" value="\bCheck[Ss]tyle:\s*([\w|]+)\s+ON\b"/>
+    <property name="checkFormat" value="$1"/>
+  </module>
   <module name="TreeWalker">
     <property name="tabWidth" value="4"/>
     <module name="JavadocMethod"/>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list