• R/O
  • HTTP
  • SSH
  • HTTPS

JinArchiver: Commit

JinArchiverは、人狼BBSの過去ログを独自のXML形式でローカルディスクに保存するためのツールです。


Commit MetaInfo

Revisione7322e3804bb05fa54980615053f9a793d283cef (tree)
Time2020-02-11 02:14:46
AuthorOlyutorskii <olyutorskii@user...>
CommiterOlyutorskii

Log Message

update checkstyle plugin.

Change Summary

Incremental Difference

--- a/config/checkstyle/checkstyle-suppressions.xml
+++ b/config/checkstyle/checkstyle-suppressions.xml
@@ -6,7 +6,7 @@
66
77 <!--
88 Checkstyle suppressions
9- for Checkstyle 8.20 or later
9+ for Checkstyle 8.29 or later
1010
1111 [ https://checkstyle.org/ ]
1212
@@ -23,10 +23,12 @@
2323 <suppress files="" checks="DesignForExtension" />
2424
2525 <!-- Coding -->
26+ <suppress files="" checks="AvoidNoArgumentSuperConstructorCall" />
2627 <suppress files="" checks="ExplicitInitialization" />
2728 <suppress files="" checks="FinalLocalVariable" />
2829 <suppress files="" checks="MagicNumber" />
29- <suppress files="" checks="OneStatementPerLine" />
30+ <suppress files="" checks="NoArrayTrailingComma" />
31+ <suppress files="" checks="NoEnumTrailingComma" />
3032
3133 <!-- Imports -->
3234 <suppress files="" checks="ImportControl" />
@@ -38,8 +40,9 @@
3840 <suppress files="" checks="FinalParameters" />
3941 <suppress files="" checks="TrailingComment" />
4042
41- <!-- Modifiers -->
43+ <!-- Modifier -->
4244 <suppress files="" checks="InterfaceMemberImpliedModifier" />
45+ <suppress files="" checks="RedundantModifier" />
4346
4447 <!-- Whitespace -->
4548 <suppress files="" checks="SingleSpaceSeparator" />
--- a/config/checkstyle/checkstyle.xml
+++ b/config/checkstyle/checkstyle.xml
@@ -6,7 +6,7 @@
66
77 <!--
88 Checkstyle modules
9- for Checkstyle 8.20 or later
9+ for Checkstyle 8.29 or later
1010
1111 [ https://checkstyle.org/ ]
1212
@@ -20,18 +20,21 @@
2020 <property name="localeCountry" value="JP" />
2121 <property name="localeLanguage" value="en" />
2222 <!--property name="localeLanguage" value="ja" /-->
23- <property name="fileExtensions" value="java, xml, properties" />
23+ <property name="fileExtensions" value="java, properties, xml, xsd, md, txt" />
2424 <property name="severity" value="error" />
2525
2626
2727 <!-- Filters -->
28+
2829 <module name="SeverityMatchFilter" />
2930 <!--module name="SuppressionFilter" /-->
31+ <!--module name="SuppressionSingleFilter" /-->
3032 <module name="SuppressWarningsFilter" />
3133 <module name="SuppressWithPlainTextCommentFilter" />
3234
3335
3436 <!-- Headers -->
37+
3538 <module name="Header">
3639 <property name="header" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;" />
3740 <property name="fileExtensions" value="xml" />
@@ -44,18 +47,22 @@
4447
4548
4649 <!-- Javadoc Comments -->
50+
4751 <module name="JavadocPackage" />
4852
4953
5054 <!-- Miscellaneous -->
55+
5156 <module name="NewlineAtEndOfFile">
52- <property name="fileExtensions" value="java" />
57+ <property name="fileExtensions" value="java, properties, xml, xsd, md, txt" />
5358 </module>
59+ <module name="OrderedProperties" />
5460 <module name="Translation" />
5561 <module name="UniqueProperties" />
5662
5763
5864 <!-- Regexp -->
65+
5966 <module name="RegexpMultiline">
6067 <property name="format" value="[\u000b\f\u001a]" />
6168 </module>
@@ -70,10 +77,16 @@
7077
7178
7279 <!-- Size Violations -->
80+
7381 <module name="FileLength" />
82+ <module name="LineLength">
83+ <property name="fileExtensions" value="java" />
84+ <property name="max" value="78" />
85+ </module>
7486
7587
7688 <!-- Whitespace -->
89+
7790 <module name="FileTabCharacter" />
7891
7992
@@ -139,6 +152,7 @@
139152
140153 <module name="ArrayTrailingComma" />
141154 <module name="AvoidInlineConditionals" />
155+ <module name="AvoidNoArgumentSuperConstructorCall" />
142156 <module name="CovariantEquals" />
143157 <module name="DeclarationOrder" />
144158 <module name="DefaultComesLast" />
@@ -172,7 +186,9 @@
172186 <module name="NestedForDepth" />
173187 <module name="NestedIfDepth" />
174188 <module name="NestedTryDepth" />
189+ <module name="NoArrayTrailingComma" />
175190 <module name="NoClone" />
191+ <module name="NoEnumTrailingComma" />
176192 <module name="NoFinalizer" />
177193 <module name="OneStatementPerLine" />
178194 <module name="OverloadMethodsDeclarationOrder" />
@@ -180,6 +196,7 @@
180196 <module name="ParameterAssignment" />
181197 <module name="RequireThis">
182198 <property name="checkMethods" value="false" />
199+ <property name="validateOnlyOverlapping" value="false" />
183200 </module>
184201 <module name="ReturnCount" />
185202 <module name="SimplifyBooleanExpression" />
@@ -188,6 +205,9 @@
188205 <module name="SuperClone" />
189206 <module name="SuperFinalize" />
190207 <module name="UnnecessaryParentheses" />
208+ <module name="UnnecessarySemicolonAfterTypeMemberDeclaration" />
209+ <module name="UnnecessarySemicolonInEnumeration" />
210+ <module name="UnnecessarySemicolonInTryWithResources" />
191211 <module name="VariableDeclarationUsageDistance" />
192212
193213
@@ -206,6 +226,9 @@
206226 <!-- Javadoc Comments -->
207227
208228 <module name="AtclauseOrder" />
229+ <module name="InvalidJavadocPosition" />
230+ <module name="JavadocBlockTagLocation" />
231+ <module name="JavadocContentLocationCheck" />
209232 <module name="JavadocMethod" />
210233 <module name="JavadocParagraph" />
211234 <module name="JavadocStyle">
@@ -220,6 +243,9 @@
220243 <module name="JavadocVariable">
221244 <property name="scope" value="protected" />
222245 </module>
246+ <module name="MissingJavadocMethod" />
247+ <module name="MissingJavadocPackage" />
248+ <module name="MissingJavadocType" />
223249 <module name="NonEmptyAtclauseDescription" />
224250 <module name="SingleLineJavadoc" />
225251 <module name="SummaryJavadocCheck" />
@@ -310,9 +336,6 @@
310336
311337 <module name="AnonInnerLength" />
312338 <module name="ExecutableStatementCount" />
313- <module name="LineLength">
314- <property name="max" value="78" />
315- </module>
316339 <module name="MethodCount" />
317340 <module name="MethodLength" />
318341 <module name="OuterTypeNumber" />
--- a/pom.xml
+++ b/pom.xml
@@ -240,12 +240,12 @@
240240 <plugin>
241241 <groupId>org.apache.maven.plugins</groupId>
242242 <artifactId>maven-checkstyle-plugin</artifactId>
243- <version>3.0.0</version>
243+ <version>3.1.0</version>
244244 <dependencies>
245245 <dependency>
246246 <groupId>com.puppycrawl.tools</groupId>
247247 <artifactId>checkstyle</artifactId>
248- <version>8.20</version>
248+ <version>8.29</version>
249249 </dependency>
250250 </dependencies>
251251 </plugin>
Show on old repository browser