/[debian]/libpdfbox-java/trunk/pdfbox-checkstyle.xml
ViewVC logotype

Annotation of /libpdfbox-java/trunk/pdfbox-checkstyle.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2465 - (hide annotations)
Sun Mar 27 13:12:17 2011 UTC (10 years, 5 months ago) by gregoa
File MIME type: text/xml
File size: 7441 byte(s)
* New upstream release (closes: #618534).
1 gregoa 2465 <?xml version="1.0"?>
2     <!--
3     ! Licensed to the Apache Software Foundation (ASF) under one or more
4     ! contributor license agreements. See the NOTICE file distributed with
5     ! this work for additional information regarding copyright ownership.
6     ! The ASF licenses this file to You under the Apache License, Version 2.0
7     ! (the "License"); you may not use this file except in compliance with
8     ! the License. You may obtain a copy of the License at
9     !
10     ! http://www.apache.org/licenses/LICENSE-2.0
11     !
12     ! Unless required by applicable law or agreed to in writing, software
13     ! distributed under the License is distributed on an "AS IS" BASIS,
14     ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15     ! See the License for the specific language governing permissions and
16     ! limitations under the License.
17     !-->
18     <!DOCTYPE module PUBLIC
19     "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
20     "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
21     <module name="Checker">
22    
23     <!-- Checks that a package.html file exists for each package. -->
24     <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
25     <module name="PackageHtml"/>
26    
27     <!-- Checks whether files end with a new line. -->
28     <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
29     <!--<module name="NewlineAtEndOfFile"/>-->
30    
31     <!-- Checks that property files contain the same keys. -->
32     <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
33     <module name="Translation"/>
34    
35    
36     <module name="TreeWalker">
37     <property name="charset" value="ISO-8859-1" />
38    
39     <!-- Checks for Javadoc comments. -->
40     <!-- See http://checkstyle.sf.net/config_javadoc.html -->
41     <module name="JavadocMethod">
42     <property name="scope" value="protected"/>
43     </module>
44     <module name="JavadocType">
45     <property name="scope" value="protected"/>
46     </module>
47     <module name="JavadocType">
48     <property name="versionFormat" value="\$Revision.*\$"/>
49     </module>
50    
51    
52     <module name="JavadocVariable">
53     <property name="scope" value="protected"/>
54     </module>
55     <module name="JavadocStyle"/>
56    
57    
58     <!-- Checks for Naming Conventions. -->
59     <!-- See http://checkstyle.sf.net/config_naming.html -->
60     <module name="ConstantName"/>
61     <module name="LocalFinalVariableName"/>
62     <module name="LocalVariableName"/>
63     <module name="MemberName"/>
64     <module name="MethodName"/>
65     <module name="PackageName"/>
66     <module name="ParameterName"/>
67     <module name="StaticVariableName"/>
68     <module name="TypeName"/>
69    
70    
71     <!-- Checks for Headers -->
72     <!-- See http://checkstyle.sf.net/config_header.html -->
73     <!-- <module name="Header"> -->
74     <!-- The follow property value demonstrates the ability -->
75     <!-- to have access to ANT properties. In this case it uses -->
76     <!-- the ${basedir} property to allow Checkstyle to be run -->
77     <!-- from any directory within a project. See property -->
78     <!-- expansion, -->
79     <!-- http://checkstyle.sf.net/config.html#properties -->
80     <!-- <property -->
81     <!-- name="headerFile" -->
82     <!-- value="${basedir}/java.header"/> -->
83     <!-- </module> -->
84    
85     <!-- Following interprets the header file as regular expressions. -->
86     <!-- <module name="RegexpHeader"/> -->
87    
88    
89     <!-- Checks for imports -->
90     <!-- See http://checkstyle.sf.net/config_import.html -->
91     <module name="AvoidStarImport"/>
92     <module name="IllegalImport"/> <!-- defaults to sun.* packages -->
93     <module name="RedundantImport"/>
94     <module name="UnusedImports"/>
95    
96    
97     <!-- Checks for Size Violations. -->
98     <!-- See http://checkstyle.sf.net/config_sizes.html -->
99     <module name="FileLength"/>
100     <module name="LineLength">
101     <property name="max" value="120"/>
102     </module>
103    
104     <module name="MethodLength">
105     <property name="max" value="600"/>
106     </module>
107    
108     <module name="ParameterNumber">
109     <property name="max" value="9"/>
110     </module>
111    
112    
113    
114     <!-- Checks for whitespace -->
115     <!-- See http://checkstyle.sf.net/config_whitespace.html -->
116     <module name="EmptyForIteratorPad"/>
117     <module name="MethodParamPad"/>
118     <!--<module name="NoWhitespaceAfter"/>-->
119     <module name="NoWhitespaceBefore"/>
120     <!--<module name="OperatorWrap"/>-->
121     <!--<module name="ParenPad">
122     <property name="option" value="space" />
123     </module>-->
124     <!--<module name="TypecastParenPad"/>-->
125     <module name="TabCharacter"/>
126     <!--<module name="WhitespaceAfter"/>-->
127     <!--<module name="WhitespaceAround"/>-->
128    
129    
130     <!-- Modifier Checks -->
131     <!-- See http://checkstyle.sf.net/config_modifiers.html -->
132     <module name="ModifierOrder"/>
133     <!--<module name="RedundantModifier"/>-->
134    
135    
136     <!-- Checks for blocks. You know, those {}'s -->
137     <!-- See http://checkstyle.sf.net/config_blocks.html -->
138     <!--<module name="AvoidNestedBlocks"/>-->
139     <!--<module name="EmptyBlock"/>-->
140     <module name="LeftCurly">
141     <property name="option" value="nl"/>
142     </module>
143     <module name="NeedBraces"/>
144     <module name="RightCurly">
145     <property name="option" value="alone"/>
146     </module>
147    
148    
149     <!-- Checks for common coding problems -->
150     <!-- See http://checkstyle.sf.net/config_coding.html -->
151     <!--<module name="AvoidInlineConditionals"/>-->
152     <module name="DoubleCheckedLocking"/> <!-- MY FAVOURITE -->
153     <module name="EmptyStatement"/>
154     <module name="EqualsHashCode"/>
155     <module name="HiddenField"/>
156     <module name="IllegalInstantiation">
157     <property name="classes" value="java.lang.Boolean"/>
158     </module>
159    
160     <!--<module name="InnerAssignment"/>-->
161     <!--<module name="MagicNumber"/>-->
162     <module name="MissingSwitchDefault"/>
163     <module name="RedundantThrows"/>
164     <module name="SimplifyBooleanExpression"/>
165     <module name="SimplifyBooleanReturn"/>
166    
167     <!-- Checks for class design -->
168     <!-- See http://checkstyle.sf.net/config_design.html -->
169     <!--<module name="DesignForExtension"/>-->
170     <!--<module name="FinalClass"/>-->
171     <module name="HideUtilityClassConstructor"/>
172     <module name="InterfaceIsType"/>
173     <!--<module name="VisibilityModifier"/>-->
174    
175    
176     <!-- Miscellaneous other checks. -->
177     <!-- See http://checkstyle.sf.net/config_misc.html -->
178     <module name="ArrayTypeStyle"/>
179     <!--<module name="FinalParameters"/>-->
180     <module name="TodoComment"/>
181     <module name="UpperEll"/>
182    
183     </module>
184    
185     </module>

  ViewVC Help
Powered by ViewVC 1.1.26