Commit a320128
authored
chore(deps): update dependency com.google.errorprone:error_prone_core to v2.49.0 (#2009)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [com.google.errorprone:error_prone_core](https://errorprone.info)
([source](https://redirect.github.com/google/error-prone)) | `2.48.0` →
`2.49.0` |

|

|
---
### Release Notes
<details>
<summary>google/error-prone
(com.google.errorprone:error_prone_core)</summary>
###
[`v2.49.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.49.0):
Error Prone 2.49.0
This release includes several changes to `Matcher` APIs, and removed
some deprecated or problematic APIs:
- Remove deprecated `MethodMatchers.withSignature` API, which relies on
fragile `toString` behaviour. Alternatives for matching on method
signatures with varargs and type parameters were added in
[`a98a1c5`](https://redirect.github.com/google/error-prone/commit/a98a1c55d92d343ae2c142485e8888cd46aa78b3).
- Removed `variableType(Matcher)` API. `Matchers.variableType(Matcher)`
uses `VariableTree#getType` to match variable types, which own't work
for lambda parameters with inferred types after
[JDK-8268850](https://bugs.openjdk.org/browse/JDK-8268850). The
recommended replacement is `variableType(TypePredicate)`.
- Make `enclosingPackage` return an optional. Module elements are not
enclosed by a package, checks using `enclosingPackage` shouldn't assume
an enclosing package exists when processing arbitrary elements.
- New `FieldMatchers` API, similar to `MethodMatchers`
([`1dd9c3a`](https://redirect.github.com/google/error-prone/commit/1dd9c3a6bd76fca8104be6ae1c1004655d6a1745)).
New checks:
-
[`AssertThrowsBlockToExpression`](https://errorprone.info/bugpattern/AssertThrowsBlockToExpression):
Discourage unnecessary block lambdas in `assertThrows`.
-
[`AssertThrowsMinimizer`](https://errorprone.info/bugpattern/AssertThrowsMinimizer):
Suggest minimizing the amount of logic in `assertThrows`.
-
[`MemorySegmentReferenceEquality`](https://errorprone.info/bugpattern/MemorySegmentReferenceEquality):
Discourage using reference equality for `MemorySegments`.
-
[`PreferThrowsTag`](https://errorprone.info/bugpattern/PreferThrowsTag):
Recommends using `@throws` instead of the legacy `@exception` javadoc
tag.
-
[`RecordAccessorInCompactConstructor`](https://errorprone.info/bugpattern/RecordAccessorInCompactConstructor):
detect record accessors inside the compact canonical ctors, which read
uninitialized fields.
Closed issues:
[#​2283](https://redirect.github.com/google/error-prone/issues/2283),
[#​3503](https://redirect.github.com/google/error-prone/issues/3503),
[#​5210](https://redirect.github.com/google/error-prone/issues/5210),
[#​5289](https://redirect.github.com/google/error-prone/issues/5289),
[#​5548](https://redirect.github.com/google/error-prone/issues/5548),
[#​5548](https://redirect.github.com/google/error-prone/issues/5548),
[#​5554](https://redirect.github.com/google/error-prone/issues/5554),
[#​5609](https://redirect.github.com/google/error-prone/issues/5609),
[#​5614](https://redirect.github.com/google/error-prone/issues/5614),
[#​5656](https://redirect.github.com/google/error-prone/issues/5656)
Full changelog:
<google/error-prone@v2.48.0...v2.49.0>
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/prometheus/client_java).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMzguMSIsInVwZGF0ZWRJblZlciI6IjQzLjEzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 7a36df7 commit a320128
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | | - | |
| 458 | + | |
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
| |||
0 commit comments