[java-idp-testbed] branch maint-3 updated: JPAR-149 - Update to latest Checkstyle configuration

Ian Young ian at iay.org.uk
Wed Nov 20 11:08:49 EST 2019


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

iay pushed a commit to branch maint-3
in repository java-idp-testbed.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-testbed.git;a=commit;h=0ab8e2d35a7cdbe6376d438d9183fa36cfee553c

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

commit 0ab8e2d35a7cdbe6376d438d9183fa36cfee553c
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Wed Nov 20 16:08:33 2019 +0000

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

diff --git a/checkstyle.xml b/checkstyle.xml
index 386c29a..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,18 +96,25 @@
       <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">
     <property name="max" value="1000"/>
   </module>
   <module name="Header">
-    <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 [...]
+    <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