Commit bc9a433
authored
Bump com.google.errorprone:error_prone_core from 2.36.0 to 2.37.0 (#249)
Bumps
[com.google.errorprone:error_prone_core](https://github.com/google/error-prone)
from 2.36.0 to 2.37.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.37.0</h2>
<p>Changes:</p>
<ul>
<li>The annotations that were previously in
<code>error_prone_type_annotations</code> have been been merged into
<code>error_prone_annotations</code>.
<code>error_prone_type_annotations</code> is now deprecated, and will be
removed in a future release.</li>
</ul>
<p>New checks:</p>
<ul>
<li><a
href="https://errorprone.info/bugpattern/AssignmentExpression"><code>AssignmentExpression</code></a>
- The use of an assignment expression can be surprising and hard to
read; consider factoring out the assignment to a separate
statement.</li>
<li><a
href="https://errorprone.info/bugpattern/IntFloatConversion"><code>IntFloatConversion</code></a>
- Detect calls to <code>scalb</code> that should be using the double
overload instead</li>
<li><a
href="https://errorprone.info/bugpattern/InvalidSnippet"><code>InvalidSnippet</code></a>
- Detects snippets which omit the <code>:</code> required for inline
code.</li>
<li><a
href="https://errorprone.info/bugpattern/JUnit4EmptyMethods"><code>JUnit4EmptyMethods</code></a>
- Detects empty JUnit4 <code>@before</code>, <code>@after</code>,
<code>@BeforeClass</code>, and <code>@afterclass</code> methods.</li>
<li><a
href="https://errorprone.info/bugpattern/MockIllegalThrows"><code>MockIllegalThrows</code></a>
- Detects cases where Mockito is configured to throw checked exception
types which are impossible.</li>
<li><a
href="https://errorprone.info/bugpattern/NegativeBoolean"><code>NegativeBoolean</code></a>
- Prefer positive boolean names.</li>
<li><a
href="https://errorprone.info/bugpattern/RuleNotRun"><code>RuleNotRun</code></a>
- Detects <code>TestRule</code>s not annotated with <code>@rule</code>,
that won't be run.</li>
<li><a
href="https://errorprone.info/bugpattern/StringConcatToTextBlock"><code>StringConcatToTextBlock</code></a>
- Replaces concatenated multiline strings with text blocks.</li>
<li><a
href="https://errorprone.info/bugpattern/TimeInStaticInitializer"><code>TimeInStaticInitializer</code></a>
- Detects accesses of the system time in static contexts.</li>
</ul>
<p>Closed issues:</p>
<ul>
<li>Propagate check flags in patch mode (<a
href="https://redirect.github.com/google/error-prone/issues/4699">#4699</a>)</li>
<li>Fixes a crash in ComputeIfAbsentAmbiguousReference (<a
href="https://redirect.github.com/google/error-prone/issues/4736">#4736</a>)</li>
<li>Show the field name in HidingField diagnostics (<a
href="https://redirect.github.com/google/error-prone/issues/4775">#4775</a>)</li>
<li>Add support for jakarta annotations to some checks (<a
href="https://redirect.github.com/google/error-prone/issues/4782">#4782</a>)</li>
<li>FloatingPointAssertionWithinEpsilonTest depends on default locale
(<a
href="https://redirect.github.com/google/error-prone/issues/4815">#4815</a>)</li>
<li><code>@InlineMe</code> patching of <code>Strings.repeat</code>
produces broken code (<a
href="https://redirect.github.com/google/error-prone/issues/4819">#4819</a>)</li>
<li>Fix a crash in IdentifierName on unnamed (<code>_</code>) variables
(<a
href="https://redirect.github.com/google/error-prone/issues/4847">#4847</a>)</li>
<li>Fix a crash in ArgumentParameterSwap (<a
href="https://redirect.github.com/google/error-prone/issues/490">#490</a>)</li>
</ul>
<p>Full changelog: <a
href="https://github.com/google/error-prone/compare/v2.36.0...v2.37.0">https://github.com/google/error-prone/compare/v2.36.0...v2.37.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google/error-prone/commit/a453935902c54691dc729607977a533bef0a4d2d"><code>a453935</code></a>
Release Error Prone 2.37.0</li>
<li><a
href="https://github.com/google/error-prone/commit/81faa5aed9cc3ddb38ff97d2ef497e44cd289c0d"><code>81faa5a</code></a>
Update JDK versions in release.yml</li>
<li><a
href="https://github.com/google/error-prone/commit/62086b7aebcda62d901434ff6a445b0ec68ac75a"><code>62086b7</code></a>
Handle multiple arguments in <code>thenThrow</code>.</li>
<li><a
href="https://github.com/google/error-prone/commit/7440ff184cb9ba73cea6d1065604ba776233abcd"><code>7440ff1</code></a>
In StringConcatToTextBlock, don't assume that string literals always
have sou...</li>
<li><a
href="https://github.com/google/error-prone/commit/04fe8357e885ff17990b0558379bbe158397b23c"><code>04fe835</code></a>
Adds type_annotations back but as a relocation to annotations</li>
<li><a
href="https://github.com/google/error-prone/commit/1ad73c255adec4a7c4bb2579f1cfdef2c02cc73b"><code>1ad73c2</code></a>
Handle <code>yield</code> in Reachability</li>
<li><a
href="https://github.com/google/error-prone/commit/b1b521fb8ccac4443d40d4995b2840c48ef3350f"><code>b1b521f</code></a>
Sniff out the canonical constructor using detective work rather than a
flag w...</li>
<li><a
href="https://github.com/google/error-prone/commit/86e5c95f8bbf2ed00f43fe5f17ca3eaeb97c6f0f"><code>86e5c95</code></a>
Optimization: Abort class scan in <code>JUnit4TestNotRun</code> if all
suspicious method...</li>
<li><a
href="https://github.com/google/error-prone/commit/c139e7f6bcd655388d0976d28083f0153ba1036c"><code>c139e7f</code></a>
[StatementSwitchToExpressionSwitch] for the return switch pattern, fix a
bug ...</li>
<li><a
href="https://github.com/google/error-prone/commit/296fb4e0e4752c7c2e9752da612224d40ecdf2d1"><code>296fb4e</code></a>
Hardcode <code>BoxedPrimitiveEquality:ExemptStaticConstants =
false</code>.</li>
<li>Additional commits viewable in <a
href="https://github.com/google/error-prone/compare/v2.36.0...v2.37.0">compare
view</a></li>
</ul>
</details>
<br />
[](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>1 parent 5f31126 commit bc9a433
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments