Skip to content

Commit c801bc3

Browse files
author
Stephen Colebourne
committed
Add checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@293041 13f79535-47bb-0310-9956-ffa450edef68
1 parent 1304d8c commit c801bc3

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

checkstyle.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
Copyright 2005 The Apache Software Foundation.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
18+
<!DOCTYPE module PUBLIC
19+
"-//Puppy Crawl//DTD Check Configuration 1.1//EN"
20+
"http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
21+
22+
<!-- commons lang customization of default Checkstyle behavior -->
23+
<module name="Checker">
24+
<property name="localeLanguage" value="en"/>
25+
<module name="PackageHtml"/>
26+
<module name="TreeWalker">
27+
<module name="TabCharacter"/>
28+
<module name="AvoidStarImport"/>
29+
<module name="RedundantImport"/>
30+
<module name="UnusedImports"/>
31+
<module name="NeedBraces"/>
32+
<module name="RedundantThrows">
33+
<property name="allowUnchecked" value="true"/>
34+
</module>
35+
<module name="LineLength">
36+
<property name="max" value="120"/>
37+
</module>
38+
<module name="JavadocMethod">
39+
<property name="allowUndeclaredRTE" value="true"/>
40+
</module>
41+
</module>
42+
</module>

0 commit comments

Comments
 (0)