Skip to content

Commit a543de8

Browse files
Bump error-prone from 2.41.0 to 2.42.0 (#349)
Bumps `error-prone` from 2.41.0 to 2.42.0. Updates `com.google.errorprone:error_prone_annotations` from 2.41.0 to 2.42.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/error-prone/releases">com.google.errorprone:error_prone_annotations's releases</a>.</em></p> <blockquote> <h2>Error Prone 2.42.0</h2> <p>New checks:</p> <ul> <li><a href="https://errorprone.info/bugpattern/ExplicitArrayForVarargs"><code>ExplicitArrayForVarargs</code></a>: discourage unnecessary explicit construction of an array to provide varargs.</li> <li><a href="https://errorprone.info/bugpattern/FloggerPerWithoutRateLimit"><code>FloggerPerWithoutRateLimit</code></a>: discourage Flogger's <code>perUnique</code> without rate limiting</li> <li><a href="https://errorprone.info/bugpattern/StringJoin"><code>StringJoin</code></a>: Ban <code>String.join(CharSequence)</code> and <code>String.join(CharSequence, CharSequence)</code></li> <li><a href="https://errorprone.info/bugpattern/ThreadBuilderNameWithPlaceholder"><code>ThreadBuilderNameWithPlaceholder</code></a>: Do not allow placeholders in <code>Thread.Builder.name(String)</code> or <code>name(String, int)</code>.</li> </ul> <p>Changes:</p> <ul> <li>The return type of <code>ASTHelpers.asFlagSet</code> has changed. The previous type was <code>EnumSet&lt;Flags.Flag&gt;</code>, where <code>Flags.Flag</code> is an enum in the javac class <code>Flags</code>. A recent JDK change has replaced that enum with a new top-level enum called <code>FlagsEnum</code>. It is not possible to change <code>ASTHelpers.asFlagSet</code> in a way that would be type-safe and compatible with the enums from JDKs both before and after the change. Instead, the method now returns <code>ImmutableSet&lt;String&gt;</code>, where the strings come from the <code>toString()</code> of the enum constants. That means they are <code>&quot;native&quot;</code>, <code>&quot;abstract&quot;</code>, etc.</li> <li>Flag <code>IO.print[ln]()</code> in <a href="https://errorprone.info/bugpattern/SystemOut"><code>SystemOut</code></a>.</li> </ul> <p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.41.0...v2.42.0">https://github.com/google/error-prone/compare/v2.41.0...v2.42.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/error-prone/commit/52b61801ceacc31be26261a14e4eb95bee68cdd8"><code>52b6180</code></a> Release Error Prone 2.42.0</li> <li><a href="https://github.com/google/error-prone/commit/691c64a24ac430fa26a69ff3ae62fdba0346e0df"><code>691c64a</code></a> Flag <code>IO.print[ln]()</code> in <code>SystemOut</code>.</li> <li><a href="https://github.com/google/error-prone/commit/0b751cd69ac278d63686a776cd55a067b7bff7ae"><code>0b751cd</code></a> ExpicitArrayForVarargs: flag unnecessary explicit construction of an array to...</li> <li><a href="https://github.com/google/error-prone/commit/982fe208c273cc82e838efbbc9c001b857cd239e"><code>982fe20</code></a> Tweak links to point to newer versions.</li> <li><a href="https://github.com/google/error-prone/commit/a2df97f0d3842e1d45f26bf085a3a95f273346be"><code>a2df97f</code></a> [StatementSwitchToExpressionSwitch] fix bug where <code>case null</code> can sometimes b...</li> <li><a href="https://github.com/google/error-prone/commit/e691be588c891d4fc10cb41f019960accd21db2d"><code>e691be5</code></a> Fix (behind a flag) a silly bug in RedundantSetterCall.</li> <li><a href="https://github.com/google/error-prone/commit/ce1a422f3f92a9a9c6434a9e0e00df5ce9877df2"><code>ce1a422</code></a> Add <code>Durations.wait()</code> to <code>WaitMatchers.waitMethodWithTimeout</code> (and make them...</li> <li><a href="https://github.com/google/error-prone/commit/da03fea47dd31b1a63932d78f3d91fb383cce8d1"><code>da03fea</code></a> Update MethodCanBeStatic to be able to detect and trigger on Guice <a href="https://github.com/Provides"><code>@​Provides</code></a> ...</li> <li><a href="https://github.com/google/error-prone/commit/83e6582d6333d2e2d5e5f2f279c630d54ae65fae"><code>83e6582</code></a> RedundantSetterCall: note that setFooValue and setFooBytes can be aliases for...</li> <li><a href="https://github.com/google/error-prone/commit/db62c8c27ec5984058788547958f2f7c8d1bee95"><code>db62c8c</code></a> Automated rollback of commit e1b16e24461d90f2b11f8213a68bfccc0426d4f3.</li> <li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.41.0...v2.42.0">compare view</a></li> </ul> </details> <br /> Updates `com.google.errorprone:error_prone_core` from 2.41.0 to 2.42.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/error-prone/releases">com.google.errorprone:error_prone_core's releases</a>.</em></p> <blockquote> <h2>Error Prone 2.42.0</h2> <p>New checks:</p> <ul> <li><a href="https://errorprone.info/bugpattern/ExplicitArrayForVarargs"><code>ExplicitArrayForVarargs</code></a>: discourage unnecessary explicit construction of an array to provide varargs.</li> <li><a href="https://errorprone.info/bugpattern/FloggerPerWithoutRateLimit"><code>FloggerPerWithoutRateLimit</code></a>: discourage Flogger's <code>perUnique</code> without rate limiting</li> <li><a href="https://errorprone.info/bugpattern/StringJoin"><code>StringJoin</code></a>: Ban <code>String.join(CharSequence)</code> and <code>String.join(CharSequence, CharSequence)</code></li> <li><a href="https://errorprone.info/bugpattern/ThreadBuilderNameWithPlaceholder"><code>ThreadBuilderNameWithPlaceholder</code></a>: Do not allow placeholders in <code>Thread.Builder.name(String)</code> or <code>name(String, int)</code>.</li> </ul> <p>Changes:</p> <ul> <li>The return type of <code>ASTHelpers.asFlagSet</code> has changed. The previous type was <code>EnumSet&lt;Flags.Flag&gt;</code>, where <code>Flags.Flag</code> is an enum in the javac class <code>Flags</code>. A recent JDK change has replaced that enum with a new top-level enum called <code>FlagsEnum</code>. It is not possible to change <code>ASTHelpers.asFlagSet</code> in a way that would be type-safe and compatible with the enums from JDKs both before and after the change. Instead, the method now returns <code>ImmutableSet&lt;String&gt;</code>, where the strings come from the <code>toString()</code> of the enum constants. That means they are <code>&quot;native&quot;</code>, <code>&quot;abstract&quot;</code>, etc.</li> <li>Flag <code>IO.print[ln]()</code> in <a href="https://errorprone.info/bugpattern/SystemOut"><code>SystemOut</code></a>.</li> </ul> <p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.41.0...v2.42.0">https://github.com/google/error-prone/compare/v2.41.0...v2.42.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/error-prone/commit/52b61801ceacc31be26261a14e4eb95bee68cdd8"><code>52b6180</code></a> Release Error Prone 2.42.0</li> <li><a href="https://github.com/google/error-prone/commit/691c64a24ac430fa26a69ff3ae62fdba0346e0df"><code>691c64a</code></a> Flag <code>IO.print[ln]()</code> in <code>SystemOut</code>.</li> <li><a href="https://github.com/google/error-prone/commit/0b751cd69ac278d63686a776cd55a067b7bff7ae"><code>0b751cd</code></a> ExpicitArrayForVarargs: flag unnecessary explicit construction of an array to...</li> <li><a href="https://github.com/google/error-prone/commit/982fe208c273cc82e838efbbc9c001b857cd239e"><code>982fe20</code></a> Tweak links to point to newer versions.</li> <li><a href="https://github.com/google/error-prone/commit/a2df97f0d3842e1d45f26bf085a3a95f273346be"><code>a2df97f</code></a> [StatementSwitchToExpressionSwitch] fix bug where <code>case null</code> can sometimes b...</li> <li><a href="https://github.com/google/error-prone/commit/e691be588c891d4fc10cb41f019960accd21db2d"><code>e691be5</code></a> Fix (behind a flag) a silly bug in RedundantSetterCall.</li> <li><a href="https://github.com/google/error-prone/commit/ce1a422f3f92a9a9c6434a9e0e00df5ce9877df2"><code>ce1a422</code></a> Add <code>Durations.wait()</code> to <code>WaitMatchers.waitMethodWithTimeout</code> (and make them...</li> <li><a href="https://github.com/google/error-prone/commit/da03fea47dd31b1a63932d78f3d91fb383cce8d1"><code>da03fea</code></a> Update MethodCanBeStatic to be able to detect and trigger on Guice <a href="https://github.com/Provides"><code>@​Provides</code></a> ...</li> <li><a href="https://github.com/google/error-prone/commit/83e6582d6333d2e2d5e5f2f279c630d54ae65fae"><code>83e6582</code></a> RedundantSetterCall: note that setFooValue and setFooBytes can be aliases for...</li> <li><a href="https://github.com/google/error-prone/commit/db62c8c27ec5984058788547958f2f7c8d1bee95"><code>db62c8c</code></a> Automated rollback of commit e1b16e24461d90f2b11f8213a68bfccc0426d4f3.</li> <li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.41.0...v2.42.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 7ded3f9 commit a543de8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
assertj = "3.27.4"
33
buf = "1.57.2"
44
cel = "0.11.0"
5-
error-prone = "2.41.0"
5+
error-prone = "2.42.0"
66
junit = "5.13.4"
77
maven-publish = "0.34.0"
88
protobuf = "4.32.1"

0 commit comments

Comments
 (0)