Skip to content

Commit

Permalink
Bump Error Prone to 2.36.0, including setting `--should-stop=ifError=…
Browse files Browse the repository at this point in the history
…FLOW`.

Fixes #383

In Guava, resolve a https://errorprone.info/bugpattern/DuplicateBranches error (though that will [soon be only a warning](google/error-prone#4700)) by just eliminating the branch. Hopefully that is fine.

RELNOTES=n/a
PiperOrigin-RevId: 700364699
  • Loading branch information
cpovirk authored and Jimfs Team committed Nov 26, 2024
1 parent 3de091c commit ffebe85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
<auto-common.version>1.2.2</auto-common.version>
<java.version>1.8</java.version>
<guava.version>33.3.1-jre</guava.version>
<errorprone.version>2.35.1</errorprone.version>
<errorprone.version>2.36.0</errorprone.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -297,6 +297,7 @@
<compilerArgs>
<!-- https://errorprone.info/docs/installation#maven -->
<arg>-XDcompilePolicy=simple</arg>
<arg>--should-stop=ifError=FLOW</arg>
<!-- TODO(cpovirk): Use .mvn/jvm.config instead (per
https://errorprone.info/docs/installation#maven) if it can
be made not to interfere with JDK8 or if we stop building
Expand Down

0 comments on commit ffebe85

Please sign in to comment.