forked from cgeo/cgeo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkstyle.xml
138 lines (136 loc) · 4.74 KB
/
checkstyle.xml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name="Checker">
<module name="SuppressionFilter">
<property name="file" value="suppressions.xml"/>
</module>
<module name="FileTabCharacter">
<property name="eachLine" value="true"/>
<property name="fileExtensions" value="java"/>
</module>
<module name="NewlineAtEndOfFile">
<property name="severity" value="warning" />
</module>
<module name="TreeWalker">
<property name="tabWidth" value="1" />
<module name="AvoidStarImport">
<property name="severity" value="info" />
<property name="allowClassImports" value="false" />
<property name="allowStaticMemberImports" value="false" />
</module>
<module name="DefaultComesLast">
<property name="severity" value="warning" />
</module>
<module name="EmptyStatement">
<property name="severity" value="info" />
</module>
<module name="EqualsHashCode">
<property name="severity" value="warning" />
</module>
<module name="FallThrough">
<property name="severity" value="warning" />
</module>
<module name="FinalLocalVariable">
<property name="severity" value="info" />
</module>
<module name="FinalParameters">
<property name="severity" value="info" />
</module>
<module name="HideUtilityClassConstructor">
<property name="severity" value="warning" />
</module>
<module name="IllegalThrows">
<property name="severity" value="warning" />
</module>
<module name="InnerAssignment">
<property name="severity" value="warning" />
</module>
<module name="LeftCurly">
<property name="severity" value="info" />
<property name="option" value="eol" />
</module>
<module name="LocalFinalVariableName">
<property name="severity" value="warning" />
</module>
<module name="LocalVariableName">
<property name="severity" value="warning" />
</module>
<module name="MemberName">
<property name="severity" value="warning" />
</module>
<module name="MethodName">
<property name="severity" value="warning" />
</module>
<module name="MissingOverride">
<property name="severity" value="warning" />
</module>
<module name="ModifiedControlVariable">
<property name="severity" value="warning" />
</module>
<module name="ModifierOrder">
<property name="severity" value="warning" />
</module>
<module name="NeedBraces">
<property name="severity" value="info" />
</module>
<module name="OuterTypeFilename">
<property name="severity" value="info" />
</module>
<module name="PackageName">
<property name="severity" value="warning" />
</module>
<module name="ParameterAssignment">
<property name="severity" value="warning" />
</module>
<module name="ParameterName">
<property name="severity" value="warning" />
</module>
<module name="ParenPad">
<property name="severity" value="info" />
<property name="option" value="nospace" />
</module>
<module name="RedundantImport">
<property name="severity" value="info" />
</module>
<module name="RedundantModifier">
<property name="severity" value="info" />
</module>
<module name="RightCurly">
<property name="severity" value="info" />
<property name="tokens" value="LITERAL_TRY, LITERAL_IF" />
<property name="option" value="same" />
</module>
<module name="SimplifyBooleanExpression">
<property name="severity" value="warning" />
</module>
<module name="SimplifyBooleanReturn">
<property name="severity" value="warning" />
</module>
<module name="StaticVariableName">
<property name="severity" value="warning" />
</module>
<module name="StringLiteralEquality">
<property name="severity" value="warning" />
</module>
<module name="UnnecessaryParentheses">
<property name="severity" value="info" />
</module>
<module name="UnusedImports">
<property name="severity" value="warning" />
<property name="processJavadoc" value="true" />
</module>
<module name="WhitespaceAfter">
<property name="severity" value="info" />
</module>
<module name="WhitespaceAround">
<property name="severity" value="info" />
</module>
<module name="ImportOrder">
<property name="groups" value="cgeo,android,java,javax,*"/>
<property name="ordered" value="true"/>
<property name="separated" value="true"/>
<property name="option" value="top"/>
<property name="sortStaticImportsAlphabetically" value="true"/>
</module>
</module>
</module>