Skip to content

Commit

Permalink
dependabot: bump com.google.errorprone:error_prone_annotations from 2…
Browse files Browse the repository at this point in the history
….20.0 to 2.21.1 (opensearch-project#3207)

Bumps
[com.google.errorprone:error_prone_annotations](https://github.com/google/error-prone)
from 2.20.0 to 2.21.1.
<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.21.1</h2>
<p>Changes:</p>
<ul>
<li>Handle overlapping ranges in suppressedRegions (fixes <a
href="https://redirect.github.com/google/error-prone/issues/4040">#4040</a>)</li>
<li>Add <a
href="https://errorprone.info/bugpattern/AddressSelection"><code>AddressSelection
</code></a> to discourage APIs that convert a hostname to a single
address</li>
</ul>
<p>Full Changelog: <a
href="https://github.com/google/error-prone/compare/v2.21.0...v2.21.1">https://github.com/google/error-prone/compare/v2.21.0...v2.21.1</a></p>
<h2>Error Prone 2.21.0</h2>
<p>New Checkers:</p>
<ul>
<li><a
href="https://errorprone.info/bugpattern/AttemptedNegativeZero"><code>AttemptedNegativeZero</code></a>:
Prevents accidental use of <code>-0</code>, which is the same as
<code>0</code>. The floating-point negative zero is
<code>-0.0</code>.</li>
<li><a
href="https://errorprone.info/bugpattern/ICCProfileGetInstance"><code>ICCProfileGetInstance</code></a>:
Warns on uses of <code>ICC_Profile.getInstance(String)</code>, due to <a
href="https://bugs.openjdk.org/browse/JDK-8191622">JDK-8191622</a>.</li>
<li><a
href="https://errorprone.info/bugpattern/MutableGuiceModule"><code>MutableGuiceModule</code></a>:
Fields in Guice modules should be <code>final</code>.</li>
<li><a
href="https://errorprone.info/bugpattern/NullableOptional"><code>NullableOptional</code></a>:
Discourages <code>@nullable</code>-annotated
<code>Optional</code>s.</li>
<li><a
href="https://errorprone.info/bugpattern/OverridingMethodInconsistentArgumentNamesChecker"><code>OverridingMethodInconsistentArgumentNamesChecker</code></a>:
Arguments of overriding method are inconsistent with overridden
method.</li>
</ul>
<p>Fixed issues: <a
href="https://redirect.github.com/google/error-prone/issues/3976">#3976</a>,
<a
href="https://redirect.github.com/google/error-prone/issues/3986">#3986</a>,
<a
href="https://redirect.github.com/google/error-prone/issues/4001">#4001</a>,
<a
href="https://redirect.github.com/google/error-prone/issues/4002">#4002</a>,
<a
href="https://redirect.github.com/google/error-prone/issues/4026">#4026</a>,
<a
href="https://redirect.github.com/google/error-prone/issues/4027">#4027</a></p>
<p>Full Changelog: <a
href="https://github.com/google/error-prone/compare/v2.20.0...v2.21.0">https://github.com/google/error-prone/compare/v2.20.0...v2.21.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google/error-prone/commit/c13d44e2b5cc5801f7f60f3e19d4a6c1a807ce1c"><code>c13d44e</code></a>
Release Error Prone 2.21.1</li>
<li><a
href="https://github.com/google/error-prone/commit/25332181359e4e5011ef60525519f3c3ab857dfc"><code>2533218</code></a>
Handle overlapping ranges in suppressedRegions</li>
<li><a
href="https://github.com/google/error-prone/commit/449e6f4367f300aac8b17d07ef4dac87e3896d1b"><code>449e6f4</code></a>
Handle method references in
<code>renameMethodWithInvocations</code></li>
<li><a
href="https://github.com/google/error-prone/commit/a2d6ad7e2cb6edf1106ccba7360f3825508e05eb"><code>a2d6ad7</code></a>
Add an Error Prone check to discourage APIs that convert a hostname to a
single</li>
<li><a
href="https://github.com/google/error-prone/commit/2ef7ec219d766c2ddc7bbd3fd99e37ce9b02b6c7"><code>2ef7ec2</code></a>
Create class to share logic between ErrorProne checkers</li>
<li><a
href="https://github.com/google/error-prone/commit/c603793f0938a6d590b98c04614ac0bf05866970"><code>c603793</code></a>
Document and test why it's important to recognize
<code>TestCase.fail</code> even though...</li>
<li><a
href="https://github.com/google/error-prone/commit/bbf7cd951536ed85ef02f1f94badbcab972ae616"><code>bbf7cd9</code></a>
Add support in ASTHelpersSuggestions for getEnclosedElements</li>
<li><a
href="https://github.com/google/error-prone/commit/29b0e54fe3edde2bc8aa933c48cdbd9b012c75c1"><code>29b0e54</code></a>
Handle overlapping deletions for unused parameters</li>
<li><a
href="https://github.com/google/error-prone/commit/b18fd7209e297f9ff7c44635897022d573ef5192"><code>b18fd72</code></a>
Automatic code cleanup.</li>
<li><a
href="https://github.com/google/error-prone/commit/25c361a31cf88ed7edd53ce71cb12dee4f260a67"><code>25c361a</code></a>
Suggest using code as per[]</li>
<li>Additional commits viewable in <a
href="https://github.com/google/error-prone/compare/v2.20.0...v2.21.1">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=gradle&previous-version=2.20.0&new-version=2.21.1)](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>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Aug 21, 2023
1 parent 5066dcd commit db133ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ dependencies {
runtimeOnly 'com.eclipsesource.minimal-json:minimal-json:0.9.5'
runtimeOnly 'commons-codec:commons-codec:1.16.0'
runtimeOnly 'org.cryptacular:cryptacular:1.2.5'
runtimeOnly 'com.google.errorprone:error_prone_annotations:2.20.0'
runtimeOnly 'com.google.errorprone:error_prone_annotations:2.21.1'
runtimeOnly 'com.sun.istack:istack-commons-runtime:4.2.0'
runtimeOnly 'jakarta.xml.bind:jakarta.xml.bind-api:4.0.0'
runtimeOnly 'org.ow2.asm:asm:9.5'
Expand Down

0 comments on commit db133ab

Please sign in to comment.