[xmlsectool] branch maint-2 updated: JPAR-149 - Update to latest Checkstyle configuration

Ian Young ian at iay.org.uk
Wed Nov 20 11:04:22 EST 2019


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

iay pushed a commit to branch maint-2
in repository xmlsectool.

View the commit online:
http://git.shibboleth.net/view/?p=xmlsectool.git;a=commit;h=6c76010a6258b5a6bce724e79131342b82b1f5fe

The following commit(s) were added to refs/heads/maint-2 by this push:
       new  6c76010   JPAR-149 - Update to latest Checkstyle configuration
6c76010 is described below

commit 6c76010a6258b5a6bce724e79131342b82b1f5fe
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Wed Nov 20 16:04:03 2019 +0000

    JPAR-149 - Update to latest Checkstyle configuration
    
    https://issues.shibboleth.net/jira/browse/JPAR-149
---
 checkstyle.xml | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/checkstyle.xml b/checkstyle.xml
index 5cab513..5229c2b 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -11,7 +11,6 @@
 <module name="Checker">
   <property name="severity" value="warning"/>
   <module name="TreeWalker">
-    <module name="FileContentsHolder"/>
     <property name="tabWidth" value="4"/>
     <module name="JavadocMethod">
       <property name="allowThrowsTagsForSubclasses" value="true"/>
@@ -37,9 +36,6 @@
     <module name="IllegalImport"/>
     <module name="RedundantImport"/>
     <module name="UnusedImports"/>
-    <module name="LineLength">
-      <property name="max" value="120"/>
-    </module>
     <module name="MethodLength">
       <property name="max" value="70"/>
     </module>
@@ -100,11 +96,15 @@
       <property name="tokens" value="PARAMETER_DEF,VARIABLE_DEF"/>
       <property name="validateEnhancedForLoopVariable" value="true"/>
     </module>
-  </module>
-  <module name="SuppressionCommentFilter">
-    <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 name="SuppressionCommentFilter">
+      <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="MissingJavadocMethod"/>
+    <module name="MissingJavadocPackage"/>
+    <module name="MissingJavadocType"/>
+    <module name="InvalidJavadocPosition"/>
   </module>
   <module name="FileTabCharacter"/>
   <module name="FileLength">
@@ -114,4 +114,7 @@
     <property name="header" value="/*\n * Licensed to the University Corporation for Advanced Internet Development,\n * Inc. (UCAID) under one or more contributor license agreements.  See the\n * NOTICE file distributed with this work for additional information regarding\n * copyright ownership. The UCAID licenses this file to You under the Apache\n * License, Version 2.0 (the "License"); you may not use this file except in\n * compliance with the License.  You may obtain a cop [...]
   </module>
   <module name="JavadocPackage"/>
-</module>
\ No newline at end of file
+  <module name="LineLength">
+    <property name="max" value="120"/>
+  </module>
+</module>

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


More information about the commits mailing list