Skip to content

Commit db8bc06

Browse files
committed
checkstyle.xml: stricter properties for 3 modules
1 parent 3c7f4e1 commit db8bc06

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

config/checkstyle/checkstyle.xml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@
3737
<module name="FileLength">
3838
<property name="max" value="1300"/>
3939
</module>
40-
<module name="LineLength">
41-
<property name="fileExtensions" value="java"/>
42-
</module>
40+
<module name="LineLength"/>
4341

4442
<!-- Checks for whitespace: -->
4543
<!-- See https://checkstyle.org/checks/whitespace -->
@@ -121,7 +119,7 @@
121119
<module name="IllegalInstantiation"/>
122120
<module name="IllegalThrows"/>
123121
<module name="IllegalToken">
124-
<property name="tokens" value="LITERAL_NATIVE, POST_DEC, POST_INC, STATIC_IMPORT"/>
122+
<property name="tokens" value="LITERAL_NATIVE, POST_DEC, POST_INC, STATIC_IMPORT, LABELED_STAT"/>
125123
</module>
126124
<module name="IllegalTokenText">
127125
<property name="format" value="\\u00(09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
@@ -168,9 +166,7 @@
168166
<module name="JavadocTagContinuationIndentation">
169167
<property name="offset" value="0"/>
170168
</module>
171-
<module name="JavadocVariable">
172-
<property name="accessModifiers" value="public, protected, package"/>
173-
</module>
169+
<module name="JavadocVariable"/>
174170
<module name="MissingJavadocMethod">
175171
<property name="allowedAnnotations" value=""/>
176172
<property name="scope" value="private"/>

0 commit comments

Comments
 (0)