Skip to content
4 changes: 1 addition & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,7 @@ build --javacopt "-Xep:EqualsIncompatibleType:ERROR"
build --javacopt "-Xep:EqualsUnsafeCast:ERROR"
build --javacopt "-Xep:EqualsUsingHashCode:ERROR"
build --javacopt "-Xep:ExtendingJUnitAssert:ERROR"
# TODO(#222) Increase to error when we build from jflex-1.7.1 with a lexer annotated with
# @SuppressWarnings
build --javacopt "-Xep:FallThrough:WARN"
build --javacopt "-Xep:FallThrough:ERROR"
build --javacopt "-Xep:Finally:ERROR"
build --javacopt "-Xep:FloatCast:ERROR"
build --javacopt "-Xep:FloatingPointAssertionWithinEpsilon:ERROR"
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@
<target>8</target>
<compilerArgs>
<arg>-XDcompilePolicy=simple</arg>
<arg>-Xplugin:ErrorProne -Xep:FallThrough:WARN</arg>
<arg>-Xplugin:ErrorProne</arg>
</compilerArgs>
<annotationProcessorPaths>
<path>
Expand Down