|
15 | 15 | Authors: Max Vetrenko, Ruslan Diachenko, Roman Ivanov.
|
16 | 16 | -->
|
17 | 17 |
|
18 |
| -<module name = "Checker"> |
| 18 | +<module name="Checker"> |
19 | 19 | <property name="charset" value="UTF-8"/>
|
20 | 20 |
|
21 | 21 | <property name="severity" value="warning"/>
|
22 | 22 |
|
23 | 23 | <property name="fileExtensions" value="java, properties, xml"/>
|
24 | 24 |
|
| 25 | + <module name="SuppressWarningsFilter"/> |
25 | 26 | <module name="SuppressionFilter">
|
26 |
| - <property name="file" value="${config_loc}/checkstyle-excludes.xml" /> |
| 27 | + <property name="file" value="${config_loc}/checkstyle-excludes.xml"/> |
27 | 28 | </module>
|
28 | 29 |
|
29 | 30 | <!-- Excludes all 'module-info.java' files -->
|
|
44 | 45 | </module>
|
45 | 46 |
|
46 | 47 | <module name="RegexpSingleline">
|
47 |
| - <property name="format" value="^\s*\*\s*@author" /> |
48 |
| - <property name="minimum" value="0" /> |
49 |
| - <property name="maximum" value="0" /> |
50 |
| - <property name="message" value="Javadoc has illegal ''author'' tag." /> |
51 |
| - <property name="fileExtensions" value="java" /> |
| 48 | + <property name="format" value="^\s*\*\s*@author"/> |
| 49 | + <property name="minimum" value="0"/> |
| 50 | + <property name="maximum" value="0"/> |
| 51 | + <property name="message" value="Javadoc has illegal ''author'' tag."/> |
| 52 | + <property name="fileExtensions" value="java"/> |
52 | 53 | </module>
|
53 | 54 |
|
54 | 55 | <module name="TreeWalker">
|
| 56 | + <module name="SuppressWarningsHolder"/> |
55 | 57 | <module name="OuterTypeFilename"/>
|
56 | 58 | <module name="IllegalTokenText">
|
57 | 59 | <property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
|
|
154 | 156 | value="Type name ''{0}'' must match pattern ''{1}''."/>
|
155 | 157 | </module>
|
156 | 158 | <module name="MemberName">
|
157 |
| - <property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/> |
| 159 | + <property name="format" value="(^[a-z]([a-zA-Z0-9]*)?$)|^x$|^y$|^z$"/> |
158 | 160 | <message key="name.invalidPattern"
|
159 | 161 | value="Member name ''{0}'' must match pattern ''{1}''."/>
|
160 | 162 | </module>
|
|
175 | 177 | </module>
|
176 | 178 | <module name="LocalVariableName">
|
177 | 179 | <property name="tokens" value="VARIABLE_DEF"/>
|
178 |
| - <property name="format" value="^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"/> |
| 180 | + <property name="format" value="(^[a-z]([a-zA-Z0-9]*)?$)|^x$|^y$|^z$"/> |
179 | 181 | <message key="name.invalidPattern"
|
180 | 182 | value="Local variable name ''{0}'' must match pattern ''{1}''."/>
|
181 | 183 | </module>
|
|
216 | 218 | <module name="AbbreviationAsWordInName">
|
217 | 219 | <property name="ignoreFinal" value="false"/>
|
218 | 220 | <property name="allowedAbbreviationLength" value="1"/>
|
219 |
| - <property name="allowedAbbreviations" value="CAM,IVIM,SPATM,DENM" /> |
| 221 | + <property name="allowedAbbreviations" value="CAM,IVIM,SPATM,DENM,SQL,CMD"/> |
220 | 222 | </module>
|
221 | 223 | <module name="OverloadMethodsDeclarationOrder"/>
|
222 | 224 | <module name="VariableDeclarationUsageDistance"/>
|
|
263 | 265 | value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
|
264 | 266 | </module>
|
265 | 267 | <module name="JavadocMethod">
|
266 |
| - <property name="scope" value="public"/> |
| 268 | + <property name="accessModifiers" value="public"/> |
267 | 269 | <property name="allowMissingParamTags" value="true"/>
|
268 |
| - <property name="validateThrows" value="true"/> |
| 270 | + <property name="validateThrows" value="false"/> |
269 | 271 | <property name="allowMissingReturnTag" value="true"/>
|
270 | 272 | <property name="allowedAnnotations" value="Override, Test, Deprecated"/>
|
271 | 273 | </module>
|
272 | 274 | <module name="MissingJavadocMethod">
|
273 | 275 | <property name="scope" value="public"/>
|
274 | 276 | <property name="minLineCount" value="3"/>
|
275 | 277 | <property name="allowedAnnotations" value="Override, Test"/>
|
276 |
| - <property name="ignoreMethodNamesRegex" value="^get.*$|^with.*$|^set.*$|^is.*$|"/> |
| 278 | + <property name="ignoreMethodNamesRegex" value="^get.*$|^with.*$|^set.*$|^is.*$|^add.*$"/> |
277 | 279 | </module>
|
278 | 280 | <module name="MethodName">
|
279 | 281 | <property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$"/>
|
|
0 commit comments