forked from mallocator/Elasticsearch-HBase-River
-
Notifications
You must be signed in to change notification settings - Fork 5
/
checkstyle_include.xml
165 lines (164 loc) · 5.66 KB
/
checkstyle_include.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<!-- This configuration file was written by the eclipse-cs plugin configuration
editor -->
<!-- Checkstyle-Configuration: default Description: none -->
<module name="Checker">
<property name="severity" value="warning"/>
<module name="TreeWalker">
<property name="cacheFile" value="target/checkstyle.cache"/>
<module name="FileContentsHolder"/>
<module name="MissingOverride"/>
<module name="JavadocMethod">
<property name="severity" value="info"/>
<property name="scope" value="public"/>
<property name="allowThrowsTagsForSubclasses" value="true"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingThrowsTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
<property name="allowMissingPropertyJavadoc" value="true"/>
<property name="suppressLoadErrors" value="true"/>
<property name="tokens" value="METHOD_DEF"/>
</module>
<module name="JavadocStyle">
<property name="severity" value="info"/>
<property name="checkEmptyJavadoc" value="true"/>
</module>
<module name="AbstractClassName">
<property name="severity" value="info"/>
</module>
<module name="ClassTypeParameterName">
<property name="severity" value="info"/>
</module>
<module name="ConstantName">
<property name="severity" value="info"/>
<property name="applyToPrivate" value="false"/>
</module>
<module name="LocalFinalVariableName">
<property name="severity" value="info"/>
</module>
<module name="LocalVariableName">
<property name="severity" value="info"/>
</module>
<module name="MemberName">
<property name="severity" value="info"/>
</module>
<module name="MethodName">
<property name="severity" value="info"/>
</module>
<module name="MethodTypeParameterName">
<property name="severity" value="info"/>
</module>
<module name="PackageName">
<property name="severity" value="warning"/>
</module>
<module name="ParameterName">
<property name="severity" value="info"/>
</module>
<module name="StaticVariableName">
<property name="severity" value="info"/>
<property name="applyToPrivate" value="false"/>
</module>
<module name="TypeName">
<property name="severity" value="info"/>
</module>
<module name="RedundantImport">
<property name="severity" value="info"/>
</module>
<module name="AnonInnerLength">
<property name="severity" value="info"/>
<property name="max" value="50"/>
</module>
<module name="MethodLength">
<property name="severity" value="info"/>
</module>
<module name="MethodLength">
<property name="severity" value="warning"/>
<property name="max" value="200"/>
</module>
<module name="MethodLength">
<property name="severity" value="error"/>
<property name="max" value="250"/>
</module>
<module name="ParameterNumber">
<property name="severity" value="info"/>
</module>
<module name="ParameterNumber">
<property name="severity" value="warning"/>
<property name="max" value="9"/>
</module>
<module name="ParameterNumber">
<property name="severity" value="error"/>
<property name="max" value="10"/>
</module>
<module name="OuterTypeNumber">
<property name="severity" value="info"/>
</module>
<module name="OuterTypeNumber">
<property name="severity" value="warning"/>
<property name="max" value="3"/>
</module>
<module name="OuterTypeNumber">
<property name="severity" value="error"/>
<property name="max" value="5"/>
</module>
<module name="ModifierOrder">
<property name="severity" value="info"/>
</module>
<module name="RedundantModifier">
<property name="severity" value="info"/>
</module>
<module name="EmptyBlock">
<property name="severity" value="info"/>
</module>
<module name="AvoidNestedBlocks">
<property name="severity" value="info"/>
</module>
<module name="LeftCurly">
<property name="severity" value="info"/>
</module>
<module name="NeedBraces">
<property name="severity" value="warning"/>
</module>
<module name="FinalClass">
<property name="severity" value="info"/>
</module>
<module name="HideUtilityClassConstructor">
<property name="severity" value="info"/>
</module>
<module name="BooleanExpressionComplexity">
<property name="severity" value="info"/>
<property name="max" value="5"/>
</module>
<module name="ArrayTypeStyle">
<property name="severity" value="info"/>
</module>
<module name="FinalParameters">
<property name="severity" value="info"/>
</module>
<module name="UpperEll">
<property name="severity" value="info"/>
</module>
<module name="JavadocType">
<property name="severity" value="info"/>
<property name="scope" value="public"/>
</module>
</module>
<module name="SuppressionCommentFilter"/>
<module name="FileLength">
<property name="severity" value="info"/>
<property name="max" value="1000"/>
</module>
<module name="FileLength">
<property name="severity" value="warning"/>
<property name="max" value="1500"/>
</module>
<module name="FileLength">
<property name="severity" value="error"/>
</module>
<module name="StrictDuplicateCode">
<property name="severity" value="warning"/>
<property name="min" value="50"/>
</module>
</module>