Fix Java lint reported errors
Replaced some API deprecations with TODO comments
Added suppressions for rawtypes fromes in OF code
Removed superfluous casts in OF code
Turned on -Werror to make future warnings break the build
Change-Id: I63a1770e1e2d0d97089d49261ac17c83fdd9b5e8
diff --git a/pom.xml b/pom.xml
index 472f644..0274bb8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,6 +97,7 @@
<compilerArgs>
<arg>-Xlint:all</arg>
<arg>-Xlint:-serial</arg>
+ <arg>-Werror</arg>
</compilerArgs>
</configuration>
<executions>