Skip to content

Commit 97973aa

Browse files
author
Ryan
committed
enabled -Xlint:all for main and test.
1 parent e7e1dc5 commit 97973aa

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

build.xml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,7 @@
4343
debug="on"
4444
includeantruntime="false">
4545

46-
<!--
47-
TODO: This is commented out for now. If you feel like making some easy
48-
changes, uncomment and go to town :-)
4946
<compilerarg value="-Xlint:all,-fallthrough"/>
50-
-->
51-
5247
<classpath refid="classpath"/>
5348
</javac>
5449

@@ -62,6 +57,7 @@
6257
debug="on"
6358
includeantruntime="false">
6459
<classpath refid="classpath"/>
60+
<compilerarg value="-Xlint:all,-fallthrough"/>
6561
</javac>
6662

6763
</target>
@@ -80,6 +76,7 @@
8076
debug="on"
8177
includeantruntime="false">
8278
<classpath refid="classpath"/>
79+
<compilerarg value="-Xlint:all,-fallthrough"/>
8380
</javac>
8481
</target>
8582

0 commit comments

Comments
 (0)