Skip to content

Commit 7997173

Browse files
Bump error-prone from 2.46.0 to 2.47.0 (#418)
Bumps `error-prone` from 2.46.0 to 2.47.0. Updates `com.google.errorprone:error_prone_annotations` from 2.46.0 to 2.47.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.47.0</h2> <p>New checks:</p> <ul> <li><a href="https://errorprone.info/bugpattern/InterruptedInCatchBlock"><code>InterruptedInCatchBlock</code></a>: Detect accidental calls to <code>Thread.interrupted()</code> inside of <code>catch(InterruptedException e)</code> blocks.</li> <li><a href="https://errorprone.info/bugpattern/RefactorSwitch"><code>RefactorSwitch</code></a>: Refactorings to simplify arrow switches</li> <li><a href="https://errorprone.info/bugpattern/UnnamedVariable"><code>UnnamedVariable</code></a>: Rename unused variables to <code>_</code></li> </ul> <p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/1811">#1811</a>, <a href="https://redirect.github.com/google/error-prone/issues/4168">#4168</a>, <a href="https://redirect.github.com/google/error-prone/issues/5459">#5459</a>, <a href="https://redirect.github.com/google/error-prone/issues/5460">#5460</a></p> <p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.46.0...v2.47.0">https://github.com/google/error-prone/compare/v2.46.0...v2.47.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/error-prone/commit/afa2d04b51099e466863b0051fa05b48971ac757"><code>afa2d04</code></a> Release Error Prone 2.47.0</li> <li><a href="https://github.com/google/error-prone/commit/bc9618a8ac4e4a6e5e06ff9ada2f16a476262cc6"><code>bc9618a</code></a> [IfChainToSwitch] when safe mode is enabled, don't reorder cases because this...</li> <li><a href="https://github.com/google/error-prone/commit/6cbafd3741ed8eedb778a28d412f3e4dcb5c841a"><code>6cbafd3</code></a> Remove the <code>TypeCompatibility:UseCapture</code> flag.</li> <li><a href="https://github.com/google/error-prone/commit/2b5284fe185e5293e9fe36c7b3c39c9c0c35b147"><code>2b5284f</code></a> [IfChainToSwitch] Add new flag for safe mode, and emit null-handling logic wh...</li> <li><a href="https://github.com/google/error-prone/commit/7d8cdfeac946923c85a430f06ffa364e973e9e44"><code>7d8cdfe</code></a> Prepare for javac API changes to AST end positions</li> <li><a href="https://github.com/google/error-prone/commit/bd5f6ca66a1f884220ab0bb13c4d06385eddad3d"><code>bd5f6ca</code></a> PUBLIC: Add obsolete APIs from Apache's <code>IOUtils</code> to <code>JdkObsolete</code>.</li> <li><a href="https://github.com/google/error-prone/commit/19dddd8cfddcba7914145369a4a899b4ce0800ae"><code>19dddd8</code></a> PUBLIC: Flag obsolete <code>Scanner</code> constructors in <code>JdkObsolete</code>.</li> <li><a href="https://github.com/google/error-prone/commit/ab4e7bd6939b92ecb22875a644a1ec7d238ba411"><code>ab4e7bd</code></a> Improve diagnostic message for unused parameters that are reassigned.</li> <li><a href="https://github.com/google/error-prone/commit/0aaf5764243bce761e56b7b5cb1f826e1dac47a4"><code>0aaf576</code></a> Clean up VariableNameSameAsType</li> <li><a href="https://github.com/google/error-prone/commit/795015f32271b5f6313f1c97a4fcd2959d2fa572"><code>795015f</code></a> PUBLIC: add <code>Formatter</code> and <code>Properties</code> APIs that use a <code>String</code> to represen...</li> <li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.46.0...v2.47.0">compare view</a></li> </ul> </details> <br /> Updates `com.google.errorprone:error_prone_core` from 2.46.0 to 2.47.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.47.0</h2> <p>New checks:</p> <ul> <li><a href="https://errorprone.info/bugpattern/InterruptedInCatchBlock"><code>InterruptedInCatchBlock</code></a>: Detect accidental calls to <code>Thread.interrupted()</code> inside of <code>catch(InterruptedException e)</code> blocks.</li> <li><a href="https://errorprone.info/bugpattern/RefactorSwitch"><code>RefactorSwitch</code></a>: Refactorings to simplify arrow switches</li> <li><a href="https://errorprone.info/bugpattern/UnnamedVariable"><code>UnnamedVariable</code></a>: Rename unused variables to <code>_</code></li> </ul> <p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/1811">#1811</a>, <a href="https://redirect.github.com/google/error-prone/issues/4168">#4168</a>, <a href="https://redirect.github.com/google/error-prone/issues/5459">#5459</a>, <a href="https://redirect.github.com/google/error-prone/issues/5460">#5460</a></p> <p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.46.0...v2.47.0">https://github.com/google/error-prone/compare/v2.46.0...v2.47.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/error-prone/commit/afa2d04b51099e466863b0051fa05b48971ac757"><code>afa2d04</code></a> Release Error Prone 2.47.0</li> <li><a href="https://github.com/google/error-prone/commit/bc9618a8ac4e4a6e5e06ff9ada2f16a476262cc6"><code>bc9618a</code></a> [IfChainToSwitch] when safe mode is enabled, don't reorder cases because this...</li> <li><a href="https://github.com/google/error-prone/commit/6cbafd3741ed8eedb778a28d412f3e4dcb5c841a"><code>6cbafd3</code></a> Remove the <code>TypeCompatibility:UseCapture</code> flag.</li> <li><a href="https://github.com/google/error-prone/commit/2b5284fe185e5293e9fe36c7b3c39c9c0c35b147"><code>2b5284f</code></a> [IfChainToSwitch] Add new flag for safe mode, and emit null-handling logic wh...</li> <li><a href="https://github.com/google/error-prone/commit/7d8cdfeac946923c85a430f06ffa364e973e9e44"><code>7d8cdfe</code></a> Prepare for javac API changes to AST end positions</li> <li><a href="https://github.com/google/error-prone/commit/bd5f6ca66a1f884220ab0bb13c4d06385eddad3d"><code>bd5f6ca</code></a> PUBLIC: Add obsolete APIs from Apache's <code>IOUtils</code> to <code>JdkObsolete</code>.</li> <li><a href="https://github.com/google/error-prone/commit/19dddd8cfddcba7914145369a4a899b4ce0800ae"><code>19dddd8</code></a> PUBLIC: Flag obsolete <code>Scanner</code> constructors in <code>JdkObsolete</code>.</li> <li><a href="https://github.com/google/error-prone/commit/ab4e7bd6939b92ecb22875a644a1ec7d238ba411"><code>ab4e7bd</code></a> Improve diagnostic message for unused parameters that are reassigned.</li> <li><a href="https://github.com/google/error-prone/commit/0aaf5764243bce761e56b7b5cb1f826e1dac47a4"><code>0aaf576</code></a> Clean up VariableNameSameAsType</li> <li><a href="https://github.com/google/error-prone/commit/795015f32271b5f6313f1c97a4fcd2959d2fa572"><code>795015f</code></a> PUBLIC: add <code>Formatter</code> and <code>Properties</code> APIs that use a <code>String</code> to represen...</li> <li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.46.0...v2.47.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 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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 3c794e8 commit 7997173

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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.7"
33
buf = "1.64.0"
44
cel = "0.11.1"
5-
error-prone = "2.46.0"
5+
error-prone = "2.47.0"
66
junit = "5.14.2"
77
maven-publish = "0.36.0"
88
protobuf = "4.33.5"

0 commit comments

Comments
 (0)