Skip to content

Commit

Permalink
Bump com.google.errorprone:error_prone_annotations from 2.26.1 to 2.27.0
Browse files Browse the repository at this point in the history
Bumps [com.google.errorprone:error_prone_annotations](https://github.com/google/error-prone) from 2.26.1 to 2.27.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.27.0</h2>
<p>New checks:</p>
<ul>
<li><a href="https://errorprone.info/bugpattern/ClassInitializationDeadlock"><code>ClassInitializationDeadlock</code></a> detects class initializers that reference subtypes of the current class, which can result in deadlocks.</li>
<li><a href="https://errorprone.info/bugpattern/MockitoDoSetup"><code>MockitoDoSetup</code></a> suggests using <code>when</code>/<code>thenReturn</code> over <code>doReturn</code>/<code>when</code> for additional type safety.</li>
<li><a href="https://errorprone.info/bugpattern/VoidUsed"><code>VoidUsed</code></a> suggests using a literal <code>null</code> instead of referring to a <code>Void</code>-typed variable.</li>
</ul>
<p>Modified checks:</p>
<ul>
<li><code>TruthSelfEquals</code> has been renamed and generalized as <a href="https://errorprone.info/bugpattern/SelfAssertion"><code>SelfAssertion</code></a></li>
<li><a href="https://errorprone.info/bugpattern/RedundantSetterCall"><code>RedundantSetterCall</code></a> has been improved, and enabled as an error oby default</li>
</ul>
<p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/4291">#4291</a>. <a href="https://redirect.github.com/google/error-prone/issues/4308">#4308</a>, <a href="https://redirect.github.com/google/error-prone/issues/4343">#4343</a>, <a href="https://redirect.github.com/google/error-prone/issues/4320">#4320</a></p>
<p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.26.1...v2.27.0">https://github.com/google/error-prone/compare/v2.26.1...v2.27.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/google/error-prone/commit/ebe0a014edf7a50345c3b9e958e876e8a9177f60"><code>ebe0a01</code></a> Release Error Prone 2.27.0</li>
<li><a href="https://github.com/google/error-prone/commit/fd9b826d595cabe56a66c060ce52504cd24630af"><code>fd9b826</code></a> Remove a very literal change-detector test, and move the comment to the produ...</li>
<li><a href="https://github.com/google/error-prone/commit/f289d9ef8f523ba76b433c5273a539b4e526134f"><code>f289d9e</code></a> <code>VoidUsed</code>: flag <code>Void</code> variables being <em>used</em>, where they can simply be repl...</li>
<li><a href="https://github.com/google/error-prone/commit/3ee6f41416ba8007eb7366c7dc644bcf1655f97f"><code>3ee6f41</code></a> Fix for a crash in RedundantSetterCall.</li>
<li><a href="https://github.com/google/error-prone/commit/92c106da53f08cf876f2e37c5946e5a8d3c12d29"><code>92c106d</code></a> Encourage when/thenReturn over doReturn/when.</li>
<li><a href="https://github.com/google/error-prone/commit/07c1a7c80b9e3cc0b8c38a3a46b464fda373f5b7"><code>07c1a7c</code></a> Stop mentioning <code>@var</code> in[]</li>
<li><a href="https://github.com/google/error-prone/commit/9d662726ccffcc9e9ec8746f0c2469f825a55ba2"><code>9d66272</code></a> Correction to UseCorrectAssertInTests.</li>
<li><a href="https://github.com/google/error-prone/commit/a6ab21a1ad985820462d3b631ac369415c9630b3"><code>a6ab21a</code></a> Fix a crash in JUnitIncompatibleType</li>
<li><a href="https://github.com/google/error-prone/commit/5a7b8d9b41a19aaf6cc917bc295ab5201cc2f328"><code>5a7b8d9</code></a> NearbyCallers: scan the body of expression lambdas.</li>
<li><a href="https://github.com/google/error-prone/commit/53d787c7803dbb505b83df47c2a535ac9084e97e"><code>53d787c</code></a> Don't suggest <code>ImmutableSet</code> if <code>ImmutableList</code> is unused.</li>
<li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.26.1...v2.27.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.errorprone:error_prone_annotations&package-manager=maven&previous-version=2.26.1&new-version=2.27.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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>

Fixes #1285

COPYBARA_INTEGRATE_REVIEW=#1285 from google:dependabot/maven/com.google.errorprone-error_prone_annotations-2.27.0 8bad600
PiperOrigin-RevId: 629051475
  • Loading branch information
dependabot[bot] authored and Google Java Core Libraries committed Apr 29, 2024
1 parent 1bceeb1 commit 10f4788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -103,7 +103,7 @@
<dependency>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_annotations</artifactId>
<version>2.26.1</version>
<version>2.27.0</version>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
Expand Down

0 comments on commit 10f4788

Please sign in to comment.