dependabot[bot] opened a new pull request, #14589: URL: https://github.com/apache/lucene/pull/14589
Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.36.0 to 2.38.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.38.0</h2> <p>New checks:</p> <ul> <li><a href="https://errorprone.info/bugpattern/AddNullMarkedToPackageInfo"><code>AddNullMarkedToPackageInfo</code></a>: adds <a href="https://jspecify.dev/docs/api/org/jspecify/annotations/NullMarked.html"><code>@org.jspecify.annotations.NullMarked</code></a> annotation to package-info files</li> <li><a href="https://errorprone.info/bugpattern/IntLiteralCast"><code>IntLiteralCast</code></a>: Suggests a literal of the desired type instead of casting an int literal to a long, float, or double</li> <li><a href="https://errorprone.info/bugpattern/MisleadingEmptyVarargs"><code>MisleadingEmptyVarargs</code></a>: Discourages calling varargs methods that expect at least one argument with no arguments, like Mockito's <code>thenThrow</code></li> <li><a href="https://errorprone.info/bugpattern/PreconditionsExpensiveString"><code>PreconditionsExpensiveString</code></a>: Discourages expensive string formatting in Guava <code>Preconditions</code> checks</li> <li><a href="https://errorprone.info/bugpattern/SelfSet"><code>SelfSet</code></a>: Detects mistakes like <code>proto.setFoo(proto.getFoo())</code></li> <li><a href="https://errorprone.info/bugpattern/UnnecessaryCopy"><code>UnnecessaryCopy</code></a>: detect unnecessary copies of proto Lists and Maps.</li> </ul> <p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/4924">#4924</a>, <a href="https://redirect.github.com/google/error-prone/issues/4897">#4897</a>, <a href="https://redirect.github.com/google/error-prone/issues/4995">#4995</a></p> <p>Full changelog: <a href="https://github.com/google/error-prone/compare/v2.37.0...v2.38.0">https://github.com/google/error-prone/compare/v2.37.0...v2.38.0</a></p> <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/a07bd3e24904d287bfb5a4c0cc01552ff5589d81"><code>a07bd3e</code></a> Release Error Prone 2.38.0</li> <li><a href="https://github.com/google/error-prone/commit/09fd394fb3eb350ca3785ee28b253add2ef7bbf3"><code>09fd394</code></a> Fix typo in NullTernary.md</li> <li><a href="https://github.com/google/error-prone/commit/4171fd71ceed57e27ac63a6d3180ff704b340dce"><code>4171fd7</code></a> FindIdentifiers: find binding variables declared by enclosing or earlier <code>if</code>...</li> <li><a href="https://github.com/google/error-prone/commit/d78f515d82c884f7c2ea4f936695184f7fd5e1aa"><code>d78f515</code></a> Audit each use of ElementKind.LOCAL_VARIABLE, and add BINDING_VARIABLE if app...</li> <li><a href="https://github.com/google/error-prone/commit/6f94a97b8edd9d1d468151fa8dc907e6bef23634"><code>6f94a97</code></a> Tolerate default cases in switches as being present to handle version skew</li> <li><a href="https://github.com/google/error-prone/commit/0223abb5ed30268e6519fe8928acc4e03357349d"><code>0223abb</code></a> Support <code>@LenientFormatString</code> in <code>LenientFormatStringValidation</code>.</li> <li><a href="https://github.com/google/error-prone/commit/cb7dfafdca02d5f0a2b3e6b838a8a3efc3e716d3"><code>cb7dfaf</code></a> Remove the <code>Side</code> enum.</li> <li><a href="https://github.com/google/error-prone/commit/d64c9cee1802f647e086e741df2df13f785b0170"><code>d64c9ce</code></a> Promote error prone check TestExceptionChecker to ERROR within Google (blaze ...</li> <li><a href="https://github.com/google/error-prone/commit/c0ce4751516d17934436533398d6a5fa250c5867"><code>c0ce475</code></a> Move <code>TargetType</code> to a top-level class alongside <code>ASTHelpers</code>.</li> <li><a href="https://github.com/google/error-prone/commit/90b8efb3b7f46d95451cd3097537b8089a07af0f"><code>90b8efb</code></a> Allow binding to BINDING_VARIABLEs in GuardedByBinder.</li> <li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.36.0...v2.38.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> -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org