dependabot[bot] opened a new pull request, #946:
URL: https://github.com/apache/mina-sshd/pull/946

   Bumps 
[com.google.errorprone:error_prone_core](https://github.com/google/error-prone) 
from 2.43.0 to 2.52.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.52.0</h2>
   <p>New checks:</p>
   <ul>
   <li><a 
href="https://errorprone.info/bugpattern/AlmostExhaustiveTestParameter";><code>AlmostExhaustiveTestParameter</code></a>:
 Prefer an exhaustive <code>@TestParameter</code> with an assumption to filter 
out specific enum values, so newly added enum values are automatically tested 
(disabled by default).</li>
   <li><a 
href="https://errorprone.info/bugpattern/SingleTestParameter";><code>SingleTestParameter</code></a>:
 Suggest <code>@TestParameter</code> on the parameter instead of 
<code>@TestParameters</code> when there is only one test parameter, replacing 
<code>PreferTestParameter</code> (disabled by default).</li>
   <li><a 
href="https://errorprone.info/bugpattern/SingleValueTestParameter";><code>SingleValueTestParameter</code></a>:
 Suggest replacing a <code>@TestParameter</code> that has only a single value 
with a local variable in the test method (disabled by default).</li>
   <li><a 
href="https://errorprone.info/bugpattern/ValueClassEquals";><code>ValueClassEquals</code></a>:
 Require non-record concrete <code>value</code> classes to explicitly override 
<code>equals</code> and <code>hashCode</code>.</li>
   </ul>
   <p>Other changes:</p>
   <ul>
   <li><a 
href="https://errorprone.info/bugpattern/LoopToTestParameter";><code>LoopToTestParameter</code></a>:
 Changed severity to <code>SUGGESTION</code> (disabled by default).</li>
   <li><a 
href="https://errorprone.info/bugpattern/DistinctVarargsChecker";><code>DistinctVarargsChecker</code></a>:
 Allow duplicate arguments to <code>Iterables.concat</code> (<a 
href="https://redirect.github.com/google/error-prone/issues/6239";>#6239</a>) 
and Mockito argument matchers such as <code>any()</code> (<a 
href="https://redirect.github.com/google/error-prone/issues/6240";>#6240</a>).</li>
   <li><a 
href="https://errorprone.info/bugpattern/UnusedVariable";><code>UnusedVariable</code></a>:
 Treat fields accessed via <code>MethodHandles.Lookup</code> 
(<code>VarHandle</code>/getter/setter lookups) or 
<code>Atomic*FieldUpdater.newUpdater</code> as used.</li>
   <li><a 
href="https://errorprone.info/bugpattern/StringBuilderInitWithChar";><code>StringBuilderInitWithChar</code></a>
 / <code>StringBuffer</code> refactoring: Refactor <code>StringBuffer</code> to 
<code>StringBuilder</code> even when used with 
<code>Matcher.appendReplacement</code> and <code>appendTail</code> (when 
supported by the target JDK or Android <code>minSdkVersion</code>).</li>
   <li><a 
href="https://errorprone.info/bugpattern/CompileTimeConstant";><code>CompileTimeConstant</code></a>:
 Treat <code>record</code> and <code>interface</code> fields and field accesses 
on compile-time constants 
(<code>compileTimeConstant.compileTimeConstantField</code>) as compile-time 
constants.</li>
   <li><a 
href="https://errorprone.info/bugpattern/ValueClassIdentity";><code>ValueClassIdentity</code></a>
 / <a 
href="https://errorprone.info/bugpattern/ReferenceEquality";><code>ReferenceEquality</code></a>:
 Handle JEP 401 <code>value</code> classes.</li>
   <li><a 
href="https://errorprone.info/bugpattern/FieldCanBeFinal";><code>FieldCanBeFinal</code></a>
 / <a 
href="https://errorprone.info/bugpattern/ThreadSafety";><code>ThreadSafety</code></a>:
 Improve compile-time performance on large classes and deep type hierarchies, 
and update <a href="https://github.com/eaftan/safere";>SafeRE</a> to 1.1.0 (<a 
href="https://redirect.github.com/google/error-prone/issues/6230";>#6230</a>).</li>
   <li>Added <a 
href="https://github.com/google/error-prone/blob/master/check_api/src/main/java/com/google/errorprone/ClassName.java";><code>ClassName</code></a>
 for caching resolved <code>ClassSymbol</code>, <code>Type</code>, and binary 
<code>Name</code> lookups across a compilation.</li>
   </ul>
   <p>Closed issues: <a 
href="https://redirect.github.com/google/error-prone/issues/5964";>#5964</a>, <a 
href="https://redirect.github.com/google/error-prone/issues/6165";>#6165</a>, <a 
href="https://redirect.github.com/google/error-prone/issues/6230";>#6230</a>, <a 
href="https://redirect.github.com/google/error-prone/issues/6239";>#6239</a>, <a 
href="https://redirect.github.com/google/error-prone/issues/6240";>#6240</a>, <a 
href="https://redirect.github.com/google/error-prone/issues/6275";>#6275</a></p>
   <p>Full changelog: <a 
href="https://github.com/google/error-prone/compare/v2.51.0...v2.52.0";>https://github.com/google/error-prone/compare/v2.51.0...v2.52.0</a></p>
   <h2>Error Prone 2.51.0</h2>
   <p>New checks:</p>
   <ul>
   <li><a 
href="https://errorprone.info/bugpattern/HashCodeInObjectsHash";><code>HashCodeInObjectsHash</code></a>:
 Detect redundant <code>hashCode()</code> or <code>Objects.hash()</code> calls 
inside <code>Objects.hash(...)</code>, and simplify single-argument 
<code>Objects.hash(x)</code> calls to <code>Objects.hashCode(x)</code>.</li>
   <li><a 
href="https://errorprone.info/bugpattern/LoopToTestParameter";><code>LoopToTestParameter</code></a>:
 Suggest migrating loops in unit tests to 
<code>TestParameterInjector</code>.</li>
   <li><a 
href="https://errorprone.info/bugpattern/MissingJavadoc";><code>MissingJavadoc</code></a>:
 Flag public types that are missing Javadoc comments (disabled by default).</li>
   <li><a 
href="https://errorprone.info/bugpattern/PreferCharsetOverload";><code>PreferCharsetOverload</code></a>:
 Prefer calling method and constructor overloads that accept a 
<code>Charset</code> over those that accept a <code>String</code> encoding 
name.</li>
   <li><a 
href="https://errorprone.info/bugpattern/PreferPreconditions";><code>PreferPreconditions</code></a>:
 Suggest using Guava's <code>Preconditions</code> instead of explicit 
<code>if</code>-<code>throw</code> statements for parameter validation 
(disabled by default).</li>
   <li><a 
href="https://errorprone.info/bugpattern/RequireNonNullRefactoring";><code>RequireNonNullRefactoring</code></a>:
 Refactor explicit <code>if (x == null) { throw new NullPointerException(...); 
}</code> checks to <code>Objects.requireNonNull</code> (disabled by 
default).</li>
   <li><a 
href="https://errorprone.info/bugpattern/SimplifyTestParameter";><code>SimplifyTestParameter</code></a>:
 Remove redundant explicit value lists on <code>@TestParameter</code> 
annotations for <code>boolean</code> and <code>Enum</code> types when all 
values are specified (disabled by default).</li>
   <li><a 
href="https://errorprone.info/bugpattern/TraditionalJavadocToMarkdown";><code>TraditionalJavadocToMarkdown</code></a>:
 Convert traditional <code>/** ... */</code> Javadoc comments into 
<code>///</code> Markdown Javadoc comments (disabled by default).</li>
   <li><a 
href="https://errorprone.info/bugpattern/ValueClassIdentity";><code>ValueClassIdentity</code></a>:
 Flag reliance on identity semantics (such as synchronization, 
<code>WeakReference</code>, <code>IdentityHashMap</code>, or 
<code>System.identityHashCode</code>) of value-based classes (disabled by 
default).</li>
   </ul>
   <p>Other changes:</p>
   <ul>
   <li><a 
href="https://errorprone.info/bugpattern/CompareToZero";><code>CompareToZero</code></a>:
 Upgraded from warning to error, and expanded to flag non-relational 
operations, unary negation, and <code>switch</code> statements/expressions on 
<code>compareTo</code> and <code>compare</code> results without 
<code>Integer.signum</code>.</li>
   <li><a 
href="https://errorprone.info/bugpattern/IfChainToSwitch";><code>IfChainToSwitch</code></a>:
 Enabled by default as a warning.</li>
   <li><a 
href="https://errorprone.info/bugpattern/UndefinedEquals";><code>UndefinedEquals</code></a>:
 Merged <code>ArrayAsKeyOfSetOrMap</code> and 
<code>CollectionUndefinedEquality</code> into <code>UndefinedEquals</code> 
(retaining their names as <code>altNames</code>), and generalized detection of 
types without well-defined <code>equals</code> or <code>hashCode</code> across 
direct equality, collection containment, and hash-based containers.</li>
   <li><a 
href="https://errorprone.info/bugpattern/EqualsIncompatibleType";><code>EqualsIncompatibleType</code></a>
 / <a 
href="https://errorprone.info/bugpattern/TruthIncompatibleType";><code>TruthIncompatibleType</code></a>:
 Flag equality comparisons between distinct <code>record</code> types (<a 
href="https://redirect.github.com/google/error-prone/issues/6107";>#6107</a>).</li>
   <li><a 
href="https://errorprone.info/bugpattern/ReferenceEquality";><code>ReferenceEquality</code></a>:
 Allow <code>==</code> comparisons on <code>private</code> classes whose type 
hierarchy does not override <code>Object.equals</code> (<a 
href="https://redirect.github.com/google/error-prone/issues/5865";>#5865</a>), 
<code>private static final</code> sentinel fields, <code>Thread</code> (<a 
href="https://redirect.github.com/google/error-prone/issues/5900";>#5900</a>), 
and <code>com.sun.source.tree.Tree</code>.</li>
   <li><a 
href="https://errorprone.info/bugpattern/PatternMatchingInstanceof";><code>PatternMatchingInstanceof</code></a>:
 Support <code>while</code> and <code>for</code> loops, parenthesized 
expressions (<a 
href="https://redirect.github.com/google/error-prone/issues/5843";>#5843</a>), 
and replacing additional redundant casts when the <code>instanceof</code> 
already introduces a pattern variable.</li>
   <li><a 
href="https://errorprone.info/bugpattern/DistinctVarargsChecker";><code>DistinctVarargsChecker</code></a>:
 Expanded to check <code>Objects.hash</code>, 
<code>CompletableFuture.allOf</code>/<code>anyOf</code>, 
<code>EnumSet.of</code>, 
<code>Sets.union</code>/<code>intersection</code>/<code>difference</code>, 
<code>Stream.concat</code>, <code>Math.min</code>/<code>max</code>, and 
additional JDK, Guava, Protobuf, Truth, and Mockito methods.</li>
   <li><a 
href="https://errorprone.info/bugpattern/MustBeClosedChecker";><code>MustBeClosedChecker</code></a>:
 Require <code>java.lang.foreign.Arena.ofConfined</code> and 
<code>Arena.ofShared</code> to be closed.</li>
   <li><a 
href="https://errorprone.info/bugpattern/ImpossibleNullComparison";><code>ImpossibleNullComparison</code></a>:
 Flag null checks on the return value of <code>Class.forName</code>.</li>
   <li><a 
href="https://errorprone.info/bugpattern/RestrictedApi";><code>RestrictedApi</code></a>
 / <a 
href="https://errorprone.info/bugpattern/RestrictedInheritance";><code>RestrictedInheritance</code></a>:
 Added an <code>allowedPaths</code> attribute to allow calls or inheritance 
from matching file paths without a regular expression.</li>
   <li><a 
href="https://errorprone.info/bugpattern/InlineMeInliner";><code>InlineMeInliner</code></a>:
 Support substituting type arguments at call sites when inlining generic 
<code>@InlineMe</code> methods.</li>
   <li><a 
href="https://errorprone.info/bugpattern/WellKnownKeep";><code>WellKnownKeep</code></a>:
 Recognize Apache Beam <code>DoFn</code> annotations and retain open-source 
library annotations (<code>Gson</code>, <code>Mockito</code>, 
<code>Guice</code>, <code>Objectify</code>, <code>TestParameterInjector</code>, 
<code>AutoFactory</code>).</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/google/error-prone/commit/1e3231418b0d22f3c9a6475198722a7ff0c7d300";><code>1e32314</code></a>
 Release Error Prone 2.52.0</li>
   <li><a 
href="https://github.com/google/error-prone/commit/ea4c6df5dafef16a9e8c45d7d4b045c1d79e8d33";><code>ea4c6df</code></a>
 Avoid calling <code>SuggestedFixes.compilesWithFix</code> in 
<code>FieldCanBeFinal</code></li>
   <li><a 
href="https://github.com/google/error-prone/commit/04640b8b5677c06118ce1395948551ba8589146c";><code>04640b8</code></a>
 Update SafeRE to 1.1.0</li>
   <li><a 
href="https://github.com/google/error-prone/commit/6034e0957fcd38eaef37de08f8aa63c247523555";><code>6034e09</code></a>
 Bump the dependencies group across 1 directory with 8 updates</li>
   <li><a 
href="https://github.com/google/error-prone/commit/3cc36d5125e62d697466991771d471d5ea1b8864";><code>3cc36d5</code></a>
 Bump actions/setup-java from 6.0.1 to 6.1.0 in the github-actions group (<a 
href="https://redirect.github.com/google/error-prone/issues/6270";>#6270</a>)</li>
   <li><a 
href="https://github.com/google/error-prone/commit/0202185311ed25f47be5f64b17a70aad32dee439";><code>0202185</code></a>
 Migrate class and annotation name constants in Error Prone to 
<code>ClassName</code>.</li>
   <li><a 
href="https://github.com/google/error-prone/commit/cdf0d9400266b7540fb1a44b6cfcf1244550e29a";><code>cdf0d94</code></a>
 Add <code>ASTHelpers.overridesObjectEquals</code> and 
<code>overridesObjectHashCode</code> helpers.</li>
   <li><a 
href="https://github.com/google/error-prone/commit/208015e2bf3464e54037c12f244e834476355af3";><code>208015e</code></a>
 Update <code>MemoizeConstantVisitorStateLookups</code> to suggest 
<code>ClassName</code>.</li>
   <li><a 
href="https://github.com/google/error-prone/commit/e1a8a3e49f469e52e3e7aef71566435a6537e6a3";><code>e1a8a3e</code></a>
 Add <code>ValueClassEquals</code> to require non-record concrete 
<code>value</code> classes to over...</li>
   <li><a 
href="https://github.com/google/error-prone/commit/2c6baed91268145986d84332af91ae6a17fe1f60";><code>2c6baed</code></a>
 Handle JEP 401 <code>value</code> classes in <code>ValueClassIdentity</code> 
and <code>ReferenceEquality</code></li>
   <li>Additional commits viewable in <a 
href="https://github.com/google/error-prone/compare/v2.43.0...v2.52.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.43.0&new-version=2.52.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 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>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to