1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
5 This configuration file was written by the eclipse-cs plugin configuration editor
8 Checkstyle-Configuration: Internet 2
10 Code standard checking for Internet 2 code
12 <module name="Checker">
13 <property name="severity" value="warning"/>
14 <module name="TreeWalker">
15 <property name="tabWidth" value="4"/>
16 <module name="JavadocMethod">
17 <property name="allowThrowsTagsForSubclasses" value="true"/>
19 <module name="JavadocType"/>
20 <module name="JavadocVariable"/>
21 <module name="JavadocStyle">
22 <property name="checkEmptyJavadoc" value="true"/>
24 <module name="ConstantName"/>
25 <module name="LocalFinalVariableName"/>
26 <module name="LocalVariableName"/>
27 <module name="MemberName"/>
28 <module name="MethodName"/>
29 <module name="PackageName"/>
30 <module name="ParameterName"/>
31 <module name="StaticVariableName"/>
32 <module name="TypeName"/>
33 <module name="AvoidStarImport"/>
34 <module name="IllegalImport"/>
35 <module name="RedundantImport"/>
36 <module name="UnusedImports"/>
37 <module name="LineLength">
38 <property name="max" value="120"/>
40 <module name="MethodLength">
41 <property name="max" value="50"/>
43 <module name="ParameterNumber">
44 <property name="max" value="5"/>
46 <module name="EmptyForIteratorPad"/>
47 <module name="MethodParamPad"/>
48 <module name="ModifierOrder"/>
49 <module name="AvoidNestedBlocks"/>
50 <module name="EmptyBlock"/>
51 <module name="LeftCurly"/>
52 <module name="NeedBraces"/>
53 <module name="RightCurly"/>
54 <module name="AvoidInlineConditionals"/>
55 <module name="DoubleCheckedLocking"/>
56 <module name="EmptyStatement"/>
57 <module name="EqualsHashCode"/>
58 <module name="HiddenField"/>
59 <module name="IllegalInstantiation"/>
60 <module name="InnerAssignment"/>
61 <module name="MissingSwitchDefault"/>
62 <module name="RedundantThrows"/>
63 <module name="SimplifyBooleanExpression"/>
64 <module name="SimplifyBooleanReturn"/>
65 <module name="FinalClass"/>
66 <module name="HideUtilityClassConstructor"/>
67 <module name="InterfaceIsType"/>
68 <module name="VisibilityModifier"/>
69 <module name="ArrayTypeStyle"/>
70 <module name="UpperEll"/>
71 <module name="AbstractClassName">
72 <property name="format" value="^Abstract.*$|^Base.*$"/>
74 <module name="AnonInnerLength"/>
75 <module name="EmptyForInitializerPad"/>
76 <module name="CovariantEquals"/>
77 <module name="DefaultComesLast"/>
78 <module name="DeclarationOrder"/>
79 <module name="ExplicitInitialization"/>
80 <module name="FallThrough"/>
81 <module name="IllegalCatch"/>
82 <module name="IllegalThrows"/>
83 <module name="JUnitTestCase"/>
84 <module name="MultipleVariableDeclarations"/>
85 <module name="PackageDeclaration"/>
86 <module name="ParameterAssignment"/>
87 <module name="ReturnCount">
88 <property name="max" value="4"/>
90 <module name="StringLiteralEquality"/>
91 <module name="SuperFinalize"/>
92 <module name="ArrayTrailingComma"/>
93 <module name="UnnecessaryParentheses"/>
94 <module name="MutableException"/>
95 <module name="ThrowsCount">
96 <property name="max" value="3"/>
98 <module name="CyclomaticComplexity"/>
99 <module name="TrailingComment"/>
100 <module name="EqualsAvoidNull"/>
101 <module name="ModifiedControlVariable"/>
103 <module name="FileTabCharacter"/>
104 <module name="FileLength">
105 <property name="max" value="1000"/>
107 <module name="Header">
108 <property name="header" value="/*\n * Copyright 2005 University Corporation for Advanced Internet Development, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */"/>
109 <property name="ignoreLines" value="2"/>
111 <module name="JavadocPackage"/>