Skip to content

Commit

Permalink
Fix:ci:Relax checkstyle rules for Java code, see #1041
Browse files Browse the repository at this point in the history
Signed-off-by: mvglasow <michael -at- vonglasow.com>
  • Loading branch information
mvglasow authored and jkoan committed Jan 6, 2021
1 parent cacec40 commit dac7617
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@
<property name="tokens"
value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"/>
</module>
<module name="NeedBraces">
<property name="severity" value="error"/>
</module>
<module name="LeftCurly"/>
<module name="RightCurly">
<property name="id" value="RightCurlySame"/>
Expand Down Expand Up @@ -141,7 +138,7 @@
<property name="severity" value="error"/>
</module>
<module name="MemberName">
<property name="format" value="^m[A-Z][a-zA-Z0-9]*$"/>
<property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
<message key="name.invalidPattern"
value="Member name ''{0}'' must match pattern ''{1}''."/>
<property name="severity" value="error"/>
Expand Down Expand Up @@ -211,7 +208,6 @@
<property name="allowedAbbreviationLength" value="3"/>
</module>
<module name="OverloadMethodsDeclarationOrder"/>
<module name="VariableDeclarationUsageDistance"/>
<module name="CustomImportOrder">
<property name="sortImportsInGroupAlphabetically" value="true"/>
<property name="separateLineBetweenGroups" value="true"/>
Expand Down

0 comments on commit dac7617

Please sign in to comment.