forked from opensciencemap/VectorTileMap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.checkstyle_rules.xml
More file actions
97 lines (86 loc) · 4.13 KB
/
.checkstyle_rules.xml
File metadata and controls
97 lines (86 loc) · 4.13 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
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
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<module name="Checker">
<property name="severity" value="warning"/>
<!-- See http://checkstyle.sourceforge.net/config_header.html -->
<module name="Header">
<property name="fileExtensions" value="java" />
<property name="header" value="/*\n * Copyright 2010, 2011, 2012 mapsforge.org\n *\n * This program is free software: you can redistribute it and/or modify it under the\n * terms of the GNU Lesser General Public License as published by the Free Software\n * Foundation, either version 3 of the License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT ANY\n * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\n * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public License along with\n * this program. If not, see <http://www.gnu.org/licenses/>.\n */" />
</module>
<module name="NewlineAtEndOfFile">
<property name="fileExtensions" value="java" />
<property name="lineSeparator" value="lf" />
</module>
<module name="TreeWalker">
<!-- See http://checkstyle.sourceforge.net/config_misc.html -->
<module name="ArrayTypeStyle" />
<module name="OuterTypeFilename" />
<module name="UncommentedMain" />
<module name="UpperEll" />
<!-- See http://checkstyle.sourceforge.net/config_javadoc.html -->
<module name="JavadocStyle" />
<!-- See http://checkstyle.sourceforge.net/config_naming.html -->
<module name="ConstantName">
<property name="format" value="^[A-Z][A-Z0-9\$]*(_[A-Z0-9\$]+)*$" />
</module>
<module name="LocalFinalVariableName" />
<module name="LocalVariableName" />
<module name="MemberName">
<property name="format" value="^[a-z][a-zA-Z0-9_\$]*$" />
</module>
<module name="MethodName" />
<module name="PackageName" />
<module name="ParameterName" />
<module name="StaticVariableName" />
<module name="TypeName" />
<!-- See http://checkstyle.sourceforge.net/config_imports.html -->
<module name="AvoidStarImport" />
<module name="RedundantImport" />
<!-- See http://checkstyle.sourceforge.net/config_whitespace.html -->
<module name="GenericWhitespace" />
<module name="MethodParamPad" />
<module name="NoWhitespaceAfter">
<property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS" />
</module>
<module name="NoWhitespaceBefore" />
<module name="OperatorWrap" />
<module name="ParenPad" />
<module name="TypecastParenPad" />
<module name="WhitespaceAfter" />
<module name="WhitespaceAround" />
<!-- See http://checkstyle.sourceforge.net/config_modifier.html -->
<module name="ModifierOrder" />
<module name="RedundantModifier" />
<!-- See http://checkstyle.sourceforge.net/config_blocks.html -->
<module name="AvoidNestedBlocks" />
<module name="EmptyBlock" />
<module name="LeftCurly" />
<module name="RightCurly">
<property name="tokens" value="LITERAL_TRY, LITERAL_CATCH, LITERAL_FINALLY, LITERAL_ELSE" />
</module>
<!-- See http://checkstyle.sourceforge.net/config_coding.html -->
<module name="CovariantEquals" />
<module name="DefaultComesLast" />
<module name="DoubleCheckedLocking" />
<module name="EmptyStatement" />
<module name="EqualsAvoidNull" />
<module name="EqualsHashCode" />
<module name="IllegalCatch" />
<module name="IllegalThrows" />
<module name="InnerAssignment" />
<module name="MultipleStringLiterals" />
<module name="NoClone" />
<module name="NoFinalizer" />
<module name="OneStatementPerLine" />
<module name="ParameterAssignment" />
<module name="RedundantThrows" />
<module name="SimplifyBooleanExpression" />
<module name="SimplifyBooleanReturn" />
<module name="StringLiteralEquality" />
<module name="UnnecessaryParentheses" />
<!-- See http://checkstyle.sourceforge.net/config_design.html -->
<module name="FinalClass" />
<module name="HideUtilityClassConstructor" />
<module name="InterfaceIsType" />
</module>
</module>