Message-ID: From: "renovate-bot (@renovate-bot)" To: "pgjdbc/pgjdbc" Date: Mon, 23 Mar 2026 13:23:27 +0000 Subject: [pgjdbc/pgjdbc] PR #3999: fix(deps): update dependency com.google.errorprone:error_prone_core to v2.48.0 - autoclosed List-Id: X-GitHub-Author-Id: 25180681 X-GitHub-Author-Login: renovate-bot X-GitHub-Issue: 3999 X-GitHub-Labels: dependencies X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-State: closed X-GitHub-Type: pull_request X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3999 Content-Type: text/plain; charset=utf-8 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.38.0` → `2.48.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.errorprone:error_prone_core/2.48.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.google.errorprone:error_prone_core/2.38.0/2.48.0?slim=true) | --- ### Release Notes
google/error-prone (com.google.errorprone:error_prone_core) ### [`v2.48.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.48.0): Error Prone 2.48.0 Changes: - Added support for passing flags with command-line argument files (`@`-files) ([`8e84edf`](https://redirect.github.com/google/error-prone/commit/8e84edf1beedc99ff2cff3c21a7adec578ad053e)) New checks: - [`AvoidValueSetter`](https://errorprone.info/bugpattern/AvoidValueSetter) - [`UnnecessarySemicolon`](https://errorprone.info/bugpattern/UnnecessarySemicolon) Closed issues: [#​5529](https://redirect.github.com/google/error-prone/issues/5529), [#​5537](https://redirect.github.com/google/error-prone/issues/5537), [#​5522](https://redirect.github.com/google/error-prone/issues/5522), [#​5521](https://redirect.github.com/google/error-prone/issues/5521) Full changelog: ### [`v2.47.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.47.0): Error Prone 2.47.0 New checks: - [`InterruptedInCatchBlock`](https://errorprone.info/bugpattern/InterruptedInCatchBlock): Detect accidental calls to `Thread.interrupted()` inside of `catch(InterruptedException e)` blocks. - [`RefactorSwitch`](https://errorprone.info/bugpattern/RefactorSwitch): Refactorings to simplify arrow switches - [`UnnamedVariable`](https://errorprone.info/bugpattern/UnnamedVariable): Rename unused variables to `_` Closed issues: [#​1811](https://redirect.github.com/google/error-prone/issues/1811), [#​4168](https://redirect.github.com/google/error-prone/issues/4168), [#​5459](https://redirect.github.com/google/error-prone/issues/5459), [#​5460](https://redirect.github.com/google/error-prone/issues/5460) Full changelog: ### [`v2.46.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.46.0): Error Prone 2.46.0 Changes: - The javac flag `-XDaddTypeAnnotationsToSymbol=true` is now required for Error Prone invocations on JDK 21, to enable the javac fix for [JDK-8225377: type annotations are not visible to javac plugins across compilation boundaries](https://bugs.openjdk.org/browse/JDK-8225377). See [#​5426](https://redirect.github.com/google/error-prone/issues/5426) for details. - Remove deprecated `value` attribute from `@IncompatibleModifiers` and `@RequiredModifiers` ([#​2122](https://redirect.github.com/google/error-prone/issues/2122)) - Error Prone API changes to encapsulate references to internal javac APIs for end position handling (`EndPosTable`, `DiagnosticPosition`) ([`5440bb4`](https://redirect.github.com/google/error-prone/commit/5440bb4bcd9d3455a131d863b09f71cfea8a346b), [`06c2905`](https://redirect.github.com/google/error-prone/commit/06c2905e03ade5e1564b5c67d44e2e34bfe5b8e4), [`f3915ec`](https://redirect.github.com/google/error-prone/commit/f3915ec322fa7f190c670f6a30bd476f463d8967)) New checks: - [`DuplicateAssertion`](https://errorprone.info/bugpattern/DuplicateAssertion): detect duplicated assertion lines where the argument to `assertThat` is pure - [`IfChainToSwitch`](https://errorprone.info/bugpattern/IfChainToSwitch): suggest converting chains of if-statements into arrow switches - [`ScannerUseDelimiter`](https://errorprone.info/bugpattern/ScannerUseDelimiter): discourage `Scanner.useDelimiter("\\A")` - [`AddNullMarkedToClass`](https://errorprone.info/bugpattern/AddNullMarkedToClass): refactoring to add `@NullMarked` annotation to top level classes Full changelog: ### [`v2.45.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.45.0): Error Prone 2.45.0 [Compare Source](https://redirect.github.com/google/error-prone/compare/v2.44.0...v2.45.0) Changes: - Improved compatibility with latest JDK 26 EA builds. New checks: - [`AssertSameIncompatible`](https://errorprone.info/bugpattern/AssertSameIncompatible): Detect calls to `assertSame` and similar assertions, where the calls are guaranteed to either succeed or fail. - [`FormatStringShouldUsePlaceholders`](https://errorprone.info/bugpattern/FormatStringShouldUsePlaceholders): Suggests using a format string instead of string concatenation operations on format methods Closed issues: [#​5335](https://redirect.github.com/google/error-prone/issues/5335) Full changelog: ### [`v2.44.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.44.0): Error Prone 2.44.0 [Compare Source](https://redirect.github.com/google/error-prone/compare/v2.43.0...v2.44.0) Changes - The default severity for [`LabelledBreakTarget`](https://errorprone.info/bugpattern/LabelledBreakTarget) is now an error - Update dependency on Guava ([#​5108](https://redirect.github.com/google/error-prone/issues/5108)) Closed issues: [#​5218](https://redirect.github.com/google/error-prone/issues/5218), [#​5278](https://redirect.github.com/google/error-prone/issues/5278) Full changelog: ### [`v2.43.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.43.0): Error Prone 2.43.0 [Compare Source](https://redirect.github.com/google/error-prone/compare/v2.42.0...v2.43.0) The minimum supported JDK version to run Error Prone is now JDK 21 ([#​4867](https://redirect.github.com/google/error-prone/issues/4867)). Changes: - `-XepPatchChecks` now skips disabled checks ([#​4943](https://redirect.github.com/google/error-prone/issues/4943)) - `AndroidJdkLibsChecker` has been removed, the recommended replacement for Android code is Android Lint's NewApi check New checks: - [`NullNeedsCastForVarargs`](https://errorprone.info/bugpattern/NullNeedsCastForVarargs): Detect calls that incorrectly passes a `null` *array* instead of a `null` *element*. - [`RedundantNullCheck`](https://errorprone.info/bugpattern/RedundantNullCheck): detect checks on expressions that are non-null. Closed issues: [#​4943](https://redirect.github.com/google/error-prone/issues/4943), [#​5102](https://redirect.github.com/google/error-prone/issues/5102), [#​5107](https://redirect.github.com/google/error-prone/issues/5107), [#​5121](https://redirect.github.com/google/error-prone/issues/5121), [#​5158](https://redirect.github.com/google/error-prone/issues/5158), [#​5217](https://redirect.github.com/google/error-prone/issues/5217), [#​5239](https://redirect.github.com/google/error-prone/issues/5239) Full changelog: ### [`v2.42.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.42.0): Error Prone 2.42.0 [Compare Source](https://redirect.github.com/google/error-prone/compare/v2.41.0...v2.42.0) New checks: - [`ExplicitArrayForVarargs`](https://errorprone.info/bugpattern/ExplicitArrayForVarargs): discourage unnecessary explicit construction of an array to provide varargs. - [`FloggerPerWithoutRateLimit`](https://errorprone.info/bugpattern/FloggerPerWithoutRateLimit): discourage Flogger's `perUnique` without rate limiting - [`StringJoin`](https://errorprone.info/bugpattern/StringJoin): Ban `String.join(CharSequence)` and `String.join(CharSequence, CharSequence)` - [`ThreadBuilderNameWithPlaceholder`](https://errorprone.info/bugpattern/ThreadBuilderNameWithPlaceholder): Do not allow placeholders in `Thread.Builder.name(String)` or `name(String, int)`. Changes: - The return type of `ASTHelpers.asFlagSet` has changed. The previous type was `EnumSet`, where `Flags.Flag` is an enum in the javac class `Flags`. A recent JDK change has replaced that enum with a new top-level enum called `FlagsEnum`. It is not possible to change `ASTHelpers.asFlagSet` in a way that would be type-safe and compatible with the enums from JDKs both before and after the change. Instead, the method now returns `ImmutableSet`, where the strings come from the `toString()` of the enum constants. That means they are `"native"`, `"abstract"`, etc. - Flag `IO.print[ln]()` in [`SystemOut`](https://errorprone.info/bugpattern/SystemOut). Full changelog: ### [`v2.41.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.41.0): Error Prone 2.41.0 [Compare Source](https://redirect.github.com/google/error-prone/compare/v2.40.0...v2.41.0) New checks: - [EffectivelyPrivate](https://errorprone.info/bugpattern/EffectivelyPrivate): Detect declarations that have `public` or `protected` modifiers, but are effectively private Changes: - Skip BooleanLiteral findings if the target type is boxed ([#​5134](https://redirect.github.com/google/error-prone/issues/5134)) Full changelog: ### [`v2.40.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.40.0): Error Prone 2.40.0 [Compare Source](https://redirect.github.com/google/error-prone/compare/v2.39.0...v2.40.0) Changes: - Bug fixes and improvements - Releases (including snapshots) have migrated from [OSSRH to the Central Publisher Portal](https://central.sonatype.org/pages/ossrh-eol/#process-to-migrate) Full changelog: ### [`v2.39.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.39.0): Error Prone 2.39.0 [Compare Source](https://redirect.github.com/google/error-prone/compare/v2.38.0...v2.39.0) Changes: - Temporarily downgrade to Guava 33.4.0 ([#​5108](https://redirect.github.com/google/error-prone/issues/5108)) Checks: - [`BooleanLiteral`](https://errorprone.info/bugpattern/BooleanLiteral): Prefer `true` to `Boolean.TRUE` - [`ExpensiveLenientFormatString`](https://errorprone.info/bugpattern/ExpensiveLenientFormatString): Renamed from `PreconditionsExpensiveString`, detects unnecessary calls to `String.format` in the arguments of lenient formatting methods. - [`UnnecessaryQualifier`](https://errorprone.info/bugpattern/UnnecessaryQualifier): Detects `@Qualifier` or `@BindingAnnotation` annotations that have no effect, and can be removed Issues: [#​4996](https://redirect.github.com/google/error-prone/issues/4996), [#​5045](https://redirect.github.com/google/error-prone/issues/5045) Full changelog:
--- ### Configuration 📅 **Schedule**: Branch creation - "every 3 weeks on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] 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/pgjdbc/pgjdbc).