Skip to content

Apache Lucene open-source search software

Enable unchecked warnings: we have now only some violations in contrib and the recently introduced ones by Ryan. As we want to get rid of them (the contrib ones seem to be easy), I switch it globally on.

Uwe Schindler12987dd21adf
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 7969a9545cb..72ae9ff97f9 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -646,7 +646,7 @@
<!-- <compilerarg line="-Xmaxwarns 10000000"/>
<compilerarg line="-Xmaxerrs 10000000"/> -->
<!-- for generics in Java 1.5: -->
- <!--<compilerarg line="-Xlint:unchecked"/>-->
+ <compilerarg line="-Xlint:unchecked"/>
</javac>
</sequential>
</macrodef>