Skip to content

Commit

Permalink
Enable some high value Error Prone checks for turbine
Browse files Browse the repository at this point in the history
More string view pre-work: these checks are helpful when migrating uses of String that are e.g. passed to `equals(Object)` on a collection of the wrong type.

PiperOrigin-RevId: 689985240
  • Loading branch information
cushon authored and Javac Team committed Oct 26, 2024
1 parent db74c1f commit fdeba1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
<arg>-parameters</arg>
<arg>-XDcompilePolicy=simple</arg>
<arg>--should-stop=ifError=FLOW</arg>
<arg>-Xplugin:ErrorProne</arg>
<arg>-Xplugin:ErrorProne -Xep:EqualsIncompatibleType:ERROR -Xep:TruthIncompatibleType:ERROR</arg>
</compilerArgs>
<annotationProcessorPaths>
<path>
Expand Down

0 comments on commit fdeba1e

Please sign in to comment.