Skip to content

Commit 48d7b47

Browse files
committed
added checkstyle
1 parent 3612428 commit 48d7b47

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

build.xml

+1-8
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,4 @@
1313
<classpath refid="compile.classpath"/>
1414
</javac>
1515
</target>
16-
<target name="war" depends="compile">
17-
<war webxml="WebContent/WEB-INF/web.xml" destfile="dist/SampleWebApp.war">
18-
<fileset dir="WebContent"/>
19-
<lib dir="WebContent/WEB-INF/lib"/>
20-
<classes dir="build/classes"/>
21-
</war>
22-
</target>
23-
</project>
16+
</project>

sun_checks.xml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE module PUBLIC
3+
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
4+
"http://checkstyle.sourceforge.net/dtds/configuration_1_3.dtd">
5+
6+
<module name="Checker">
7+
<module name="JavadocPackage"/>
8+
<module name="TreeWalker">
9+
<module name="AvoidStarImport"/>
10+
<module name="ConstantName"/>
11+
<module name="EmptyBlock"/>
12+
</module>
13+
</module>

0 commit comments

Comments
 (0)