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: 689964619
  • Loading branch information
cushon authored and Javac Team committed Oct 26, 2024
1 parent db74c1f commit 7d98364
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 7d98364

Please sign in to comment.