-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathcheckstyle.xml
More file actions
31 lines (30 loc) · 1.14 KB
/
Copy pathcheckstyle.xml
File metadata and controls
31 lines (30 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<!--
Lean ruleset: correctness/maintainability checks only, not code style.
-->
<module name="Checker">
<module name="TreeWalker">
<module name="EqualsHashCode"/>
<module name="EqualsAvoidNull"/>
<module name="EmptyCatchBlock"/>
<module name="EmptyStatement"/>
<module name="EmptyBlock">
<property name="option" value="text"/>
<property name="tokens" value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE"/>
</module>
<module name="UnusedImports"/>
<module name="RedundantImport"/>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
<module name="StringLiteralEquality"/>
<module name="ModifiedControlVariable"/>
<module name="MissingSwitchDefault"/>
<module name="FallThrough"/>
<module name="OneStatementPerLine"/>
<module name="CovariantEquals"/>
<module name="NoFinalizer"/>
</module>
</module>