Skip to content

Commit

Permalink
chore(java): bump com.google.errorprone:error_prone_core from 2.27.1 …
Browse files Browse the repository at this point in the history
…to 2.28.0 in /java (apache#1897)

Bumps
[com.google.errorprone:error_prone_core](https://github.com/google/error-prone)
from 2.27.1 to 2.28.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.28.0</h2>
<p>Error Prone nows supports the latest JDK 23 EA builds (<a
href="https://redirect.github.com/google/error-prone/issues/4412">#4412</a>,
<a
href="https://redirect.github.com/google/error-prone/issues/4415">#4415</a>).</p>
<p>Closed issues:</p>
<ul>
<li>Improved errors for invalid check severities (<a
href="https://redirect.github.com/google/error-prone/issues/4306">#4306</a>).</li>
<li>Fix a crash with nested <code>instanceof</code> patterns (<a
href="https://redirect.github.com/google/error-prone/issues/4349">#4349</a>).</li>
<li>Fix a crash in JUnitIncompatibleType (<a
href="https://redirect.github.com/google/error-prone/issues/4377">#4377</a>).</li>
<li>In ObjectEqualsForPrimitives, don't suggest replacing
<code>equal</code> with <code>==</code> for floating-point values (<a
href="https://redirect.github.com/google/error-prone/issues/4392">#4392</a>).</li>
</ul>
<p>New checks:</p>
<ul>
<li><a
href="https://errorprone.info/bugpattern/DeeplyNested"><code>DeeplyNested</code></a>
discourages very deeply nested code that can cause StackOverflowErrors
during compilation.</li>
<li><a
href="https://errorprone.info/bugpattern/GuiceNestedCombine"><code>GuiceNestedCombine</code></a>
discourages nesting of <code>Modules.combine()</code>, which is
unnecessary.</li>
<li><a
href="https://errorprone.info/bugpattern/PatternMatchingInstanceof"><code>PatternMatchingInstanceof</code></a>
migrates code to use <a href="https://openjdk.org/jeps/394">pattern
matching for <code>instanceof</code></a></li>
<li><a
href="https://errorprone.info/bugpattern/SunApi"><code>SunApi</code></a>
discourages use of internal proprietary JDK APIs which may be removed
from future releases.</li>
</ul>
<p>Full Changelog: <a
href="https://github.com/google/error-prone/compare/v2.27.1...v2.28.0">https://github.com/google/error-prone/compare/v2.27.1...v2.28.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google/error-prone/commit/c71fd4ef6aea290a74fa641de498cb351fd325e3"><code>c71fd4e</code></a>
Release Error Prone 2.28.0</li>
<li><a
href="https://github.com/google/error-prone/commit/32997f77a4bfc79c10c1ddcbfb52b03a046d2e41"><code>32997f7</code></a>
Bugfix assignment switch analysis in StatementSwitchToExpressionSwitch:
if an...</li>
<li><a
href="https://github.com/google/error-prone/commit/2dde25434696cc2f87e76b64bf60d8875da36a09"><code>2dde254</code></a>
Update references to javadoc APIs after the introduction of Markdown doc
comm...</li>
<li><a
href="https://github.com/google/error-prone/commit/5fef6e0ab3414a21c3274059ec2df5579bf76dd7"><code>5fef6e0</code></a>
Yet another JUnitIncompatibleType crash fix.</li>
<li><a
href="https://github.com/google/error-prone/commit/c2df1b6546ddf3d778a8ab7781a6b45560b1ff9e"><code>c2df1b6</code></a>
Refactor comment handling in tokenization to use a new ErrorProneComment
clas...</li>
<li><a
href="https://github.com/google/error-prone/commit/3fff6105290f69b72641de4ea8cefc7d76996f74"><code>3fff610</code></a>
Update hamcrest to v2.2</li>
<li><a
href="https://github.com/google/error-prone/commit/6f265ddb8bcbe225b90f83d1d276b3fc65aee09b"><code>6f265dd</code></a>
Add a disabled regression test for an UnusedVariable bug</li>
<li><a
href="https://github.com/google/error-prone/commit/5eded877e844326b3e00a8e0dd4c225ab8f03617"><code>5eded87</code></a>
Add an Error Prone check that reimplements javac sunapi warnings</li>
<li><a
href="https://github.com/google/error-prone/commit/9e0fbf705dc98faf2a8ac88cbdb1facc0ba18696"><code>9e0fbf7</code></a>
Prepare for a change to the return type of
<code>JCCompilationUnit#getImports</code> in ...</li>
<li><a
href="https://github.com/google/error-prone/commit/13be411511ab367bf44c1a100085925255a3751e"><code>13be411</code></a>
Handle <code>null != CONST_CASE</code> in YodaCondition</li>
<li>Additional commits viewable in <a
href="https://github.com/google/error-prone/compare/v2.27.1...v2.28.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_core&package-manager=maven&previous-version=2.27.1&new-version=2.28.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jun 14, 2024
1 parent 6a1a117 commit 2296b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
<path>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>2.27.1</version>
<version>2.28.0</version>
</path>
<path>
<groupId>com.uber.nullaway</groupId>
Expand Down

0 comments on commit 2296b2a

Please sign in to comment.