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: Shibboleth Checkstyle
11 <module name="Checker">
12 <property name="severity" value="warning"/>
13 <module name="TreeWalker">
14 <property name="tabWidth" value="4"/>
15 <module name="JavadocMethod">
16 <property name="allowThrowsTagsForSubclasses" value="true"/>
18 <module name="JavadocType"/>
19 <module name="JavadocVariable"/>
20 <module name="JavadocStyle">
21 <property name="checkEmptyJavadoc" value="true"/>
23 <module name="ConstantName"/>
24 <module name="LocalFinalVariableName"/>
25 <module name="LocalVariableName"/>
26 <module name="MemberName"/>
27 <module name="MethodName"/>
28 <module name="PackageName"/>
29 <module name="ParameterName"/>
30 <module name="StaticVariableName"/>
31 <module name="TypeName"/>
32 <module name="AvoidStarImport"/>
33 <module name="IllegalImport"/>
34 <module name="RedundantImport"/>
35 <module name="UnusedImports"/>
36 <module name="LineLength">
37 <property name="max" value="120"/>
39 <module name="MethodLength">
40 <property name="max" value="50"/>
42 <module name="ParameterNumber">
43 <property name="max" value="5"/>
45 <module name="EmptyForIteratorPad"/>
46 <module name="MethodParamPad"/>
47 <module name="ModifierOrder"/>
48 <module name="AvoidNestedBlocks"/>
49 <module name="EmptyBlock"/>
50 <module name="LeftCurly"/>
51 <module name="NeedBraces"/>
52 <module name="RightCurly"/>
53 <module name="AvoidInlineConditionals"/>
54 <module name="DoubleCheckedLocking"/>
55 <module name="EmptyStatement"/>
56 <module name="EqualsHashCode"/>
57 <module name="HiddenField"/>
58 <module name="IllegalInstantiation"/>
59 <module name="InnerAssignment"/>
60 <module name="MissingSwitchDefault"/>
61 <module name="RedundantThrows"/>
62 <module name="SimplifyBooleanExpression"/>
63 <module name="SimplifyBooleanReturn"/>
64 <module name="FinalClass"/>
65 <module name="HideUtilityClassConstructor"/>
66 <module name="InterfaceIsType"/>
67 <module name="VisibilityModifier"/>
68 <module name="ArrayTypeStyle"/>
69 <module name="UpperEll"/>
70 <module name="AbstractClassName">
71 <property name="format" value="^Abstract.*$|^Base.*$"/>
73 <module name="AnonInnerLength"/>
74 <module name="EmptyForInitializerPad"/>
75 <module name="CovariantEquals"/>
76 <module name="DefaultComesLast"/>
77 <module name="DeclarationOrder"/>
78 <module name="ExplicitInitialization"/>
79 <module name="FallThrough"/>
80 <module name="IllegalCatch"/>
81 <module name="IllegalThrows"/>
82 <module name="JUnitTestCase"/>
83 <module name="MultipleVariableDeclarations"/>
84 <module name="PackageDeclaration"/>
85 <module name="ParameterAssignment"/>
86 <module name="ReturnCount">
87 <property name="max" value="4"/>
89 <module name="StringLiteralEquality"/>
90 <module name="SuperFinalize"/>
91 <module name="ArrayTrailingComma"/>
92 <module name="UnnecessaryParentheses"/>
93 <module name="MutableException"/>
94 <module name="ThrowsCount">
95 <property name="max" value="3"/>
97 <module name="CyclomaticComplexity"/>
98 <module name="TrailingComment"/>
99 <module name="EqualsAvoidNull"/>
100 <module name="ModifiedControlVariable"/>
102 <module name="FileTabCharacter"/>
103 <module name="FileLength">
104 <property name="max" value="1000"/>
106 <module name="Header">
107 <property name="header" value="/*\n * Licensed to the University Corporation for Advanced Internet Development, Inc.\n * under one or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information regarding\n * copyright ownership. The ASF licenses this file to You under the Apache \n * License, Version 2.0 (the "License"); you may not use this file except in \n * compliance with the License. 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 */\n"/>
109 <module name="JavadocPackage"/>