suppress ImmutableEnumChecker and OperatorPrecedence rules in error prone analyzer

master
melvinzhang 2017-06-19 09:34:34 +08:00
parent 8018ab6a4c
commit b7b06169c4
1 changed files with 6 additions and 0 deletions

View File

@ -79,6 +79,12 @@
compiler="com.google.errorprone.ErrorProneAntCompilerAdapter">
<src path="src"/>
<compilerarg value="-Xlint"/>
<!--
<compilerarg value="-XepPatchChecks:MissingOverride,DefaultCharset,ClassCanBeStatic,ShortCircuitBoolean"/>
<compilerarg value="-XepPatchLocation:IN_PLACE"/>
-->
<compilerarg value="-Xep:ImmutableEnumChecker:OFF"/>
<compilerarg value="-Xep:OperatorPrecedence:OFF"/>
<classpath refid="classpath" />
<compilerclasspath>
<pathelement location="lib/error_prone_ant-${error-prone-version}.jar"/>