[java-metadata-aggregator] 02/02: JPAR-149 - Update to latest Checkstyle configuration
Ian Young
ian at iay.org.uk
Wed Nov 20 11:03:31 EST 2019
This is an automated email from the git hooks/post-receive script.
iay pushed a commit to branch maint-0.9
in repository java-metadata-aggregator.
View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=54b32752a93af75abdb4af90f856e37914aafe1a
commit 54b32752a93af75abdb4af90f856e37914aafe1a
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Wed Nov 20 16:02:56 2019 +0000
JPAR-149 - Update to latest Checkstyle configuration
https://issues.shibboleth.net/jira/browse/JPAR-149
---
aggregator-parent/resources/checkstyle/checkstyle.xml | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/aggregator-parent/resources/checkstyle/checkstyle.xml b/aggregator-parent/resources/checkstyle/checkstyle.xml
index 92ae8f9..5229c2b 100644
--- a/aggregator-parent/resources/checkstyle/checkstyle.xml
+++ b/aggregator-parent/resources/checkstyle/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"/>
@@ -76,6 +75,7 @@
<module name="ParameterAssignment"/>
<module name="ReturnCount">
<property name="max" value="8"/>
+ <property name="maxForVoid" value="8"/>
</module>
<module name="StringLiteralEquality"/>
<module name="SuperFinalize"/>
@@ -96,18 +96,22 @@
<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 name="LineLength">
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list