dependabot[bot] opened a new pull request, #2626: URL: https://github.com/apache/tinkerpop/pull/2626
Bumps [com.google.errorprone:error_prone_annotations](https://github.com/google/error-prone) from 2.4.0 to 2.28.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/error-prone/releases">com.google.errorprone:error_prone_annotations's releases</a>.</em></p> <blockquote> <h2>Error Prone 2.28.0</h2> <p>Error Prone nows supports the latest JDK 23 EA builds (<a href="https://redirect.github.com/google/error-prone/issues/4412">#4412</a>, <a href="https://redirect.github.com/google/error-prone/issues/4415">#4415</a>).</p> <p>Closed issues:</p> <ul> <li>Improved errors for invalid check severities (<a href="https://redirect.github.com/google/error-prone/issues/4306">#4306</a>).</li> <li>Fix a crash with nested <code>instanceof</code> patterns (<a href="https://redirect.github.com/google/error-prone/issues/4349">#4349</a>).</li> <li>Fix a crash in JUnitIncompatibleType (<a href="https://redirect.github.com/google/error-prone/issues/4377">#4377</a>).</li> <li>In ObjectEqualsForPrimitives, don't suggest replacing <code>equal</code> with <code>==</code> for floating-point values (<a href="https://redirect.github.com/google/error-prone/issues/4392">#4392</a>).</li> </ul> <p>New checks:</p> <ul> <li><a href="https://errorprone.info/bugpattern/DeeplyNested"><code>DeeplyNested</code></a> discourages very deeply nested code that can cause StackOverflowErrors during compilation.</li> <li><a href="https://errorprone.info/bugpattern/GuiceNestedCombine"><code>GuiceNestedCombine</code></a> discourages nesting of <code>Modules.combine()</code>, which is unnecessary.</li> <li><a href="https://errorprone.info/bugpattern/PatternMatchingInstanceof"><code>PatternMatchingInstanceof</code></a> migrates code to use <a href="https://openjdk.org/jeps/394">pattern matching for <code>instanceof</code></a></li> <li><a href="https://errorprone.info/bugpattern/SunApi"><code>SunApi</code></a> discourages use of internal proprietary JDK APIs which may be removed from future releases.</li> </ul> <p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.27.1...v2.28.0">https://github.com/google/error-prone/compare/v2.27.1...v2.28.0</a></p> <h2>Error Prone 2.27.1</h2> <p>This release contains all of the changes in <a href="https://github.com/google/error-prone/releases/tag/v2.27.0">2.27.0</a>, plus a bug fix to <a href="https://errorprone.info/bugpattern/ClassInitializationDeadlock"><code>ClassInitializationDeadlock</code></a> (<a href="https://redirect.github.com/google/error-prone/issues/4378">google/error-prone#4378</a>)</p> <p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.27.0...v2.27.1">https://github.com/google/error-prone/compare/v2.27.0...v2.27.1</a></p> <h2>Error Prone 2.27.0</h2> <p>New checks:</p> <ul> <li><a href="https://errorprone.info/bugpattern/ClassInitializationDeadlock"><code>ClassInitializationDeadlock</code></a> detects class initializers that reference subtypes of the current class, which can result in deadlocks.</li> <li><a href="https://errorprone.info/bugpattern/MockitoDoSetup"><code>MockitoDoSetup</code></a> suggests using <code>when</code>/<code>thenReturn</code> over <code>doReturn</code>/<code>when</code> for additional type safety.</li> <li><a href="https://errorprone.info/bugpattern/VoidUsed"><code>VoidUsed</code></a> suggests using a literal <code>null</code> instead of referring to a <code>Void</code>-typed variable.</li> </ul> <p>Modified checks:</p> <ul> <li><code>TruthSelfEquals</code> has been renamed and generalized as <a href="https://errorprone.info/bugpattern/SelfAssertion"><code>SelfAssertion</code></a></li> <li><a href="https://errorprone.info/bugpattern/RedundantSetterCall"><code>RedundantSetterCall</code></a> has been improved, and enabled as an error oby default</li> </ul> <p>Closed issues: <a href="https://redirect.github.com/google/error-prone/issues/4291">#4291</a>. <a href="https://redirect.github.com/google/error-prone/issues/4308">#4308</a>, <a href="https://redirect.github.com/google/error-prone/issues/4343">#4343</a>, <a href="https://redirect.github.com/google/error-prone/issues/4320">#4320</a></p> <p>Full Changelog: <a href="https://github.com/google/error-prone/compare/v2.26.1...v2.27.0">https://github.com/google/error-prone/compare/v2.26.1...v2.27.0</a></p> <h2>Error Prone 2.26.1</h2> <p>This release contains all of the changes in <a href="https://github.com/google/error-prone/releases/tag/v2.26.0">2.26.0</a>, plus a bug fix to the module name of the annotations artifact <code>com.google.errorprone.annotations</code> (<a href="https://github.com/google/error-prone/commit/9d99ee76f2ca8568b69150f5df7fe845c8545d16">https://github.com/google/error-prone/commit/9d99ee76f2ca8568b69150f5df7fe845c8545d16</a>)</p> <p>Starting in <code>2.26.x</code>, the 'annotations' artifact now includes a <code>module-info.java</code> for Java Platform Module System support, thanks to <a href="https://github.com/sgammon"><code>@​sgammon</code></a> in <a href="https://redirect.github.com/google/error-prone/issues/4311">#4311</a>.</p> <hr /> <p><strong>Compatibility note:</strong></p> <p>Now that the annotations artifact explicit declares a module instead of relying on <code>Automatic-Module-Name</code>, JDK 17 and newer perform stricter module encapsulation checks. Modularized libraries depending on Error Prone annotations <code>2.26.x</code> and newer may see errors like:</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/error-prone/commit/c71fd4ef6aea290a74fa641de498cb351fd325e3"><code>c71fd4e</code></a> Release Error Prone 2.28.0</li> <li><a href="https://github.com/google/error-prone/commit/32997f77a4bfc79c10c1ddcbfb52b03a046d2e41"><code>32997f7</code></a> Bugfix assignment switch analysis in StatementSwitchToExpressionSwitch: if an...</li> <li><a href="https://github.com/google/error-prone/commit/2dde25434696cc2f87e76b64bf60d8875da36a09"><code>2dde254</code></a> Update references to javadoc APIs after the introduction of Markdown doc comm...</li> <li><a href="https://github.com/google/error-prone/commit/5fef6e0ab3414a21c3274059ec2df5579bf76dd7"><code>5fef6e0</code></a> Yet another JUnitIncompatibleType crash fix.</li> <li><a href="https://github.com/google/error-prone/commit/c2df1b6546ddf3d778a8ab7781a6b45560b1ff9e"><code>c2df1b6</code></a> Refactor comment handling in tokenization to use a new ErrorProneComment clas...</li> <li><a href="https://github.com/google/error-prone/commit/3fff6105290f69b72641de4ea8cefc7d76996f74"><code>3fff610</code></a> Update hamcrest to v2.2</li> <li><a href="https://github.com/google/error-prone/commit/6f265ddb8bcbe225b90f83d1d276b3fc65aee09b"><code>6f265dd</code></a> Add a disabled regression test for an UnusedVariable bug</li> <li><a href="https://github.com/google/error-prone/commit/5eded877e844326b3e00a8e0dd4c225ab8f03617"><code>5eded87</code></a> Add an Error Prone check that reimplements javac sunapi warnings</li> <li><a href="https://github.com/google/error-prone/commit/9e0fbf705dc98faf2a8ac88cbdb1facc0ba18696"><code>9e0fbf7</code></a> Prepare for a change to the return type of <code>JCCompilationUnit#getImports</code> in ...</li> <li><a href="https://github.com/google/error-prone/commit/13be411511ab367bf44c1a100085925255a3751e"><code>13be411</code></a> Handle <code>null != CONST_CASE</code> in YodaCondition</li> <li>Additional commits viewable in <a href="https://github.com/google/error-prone/compare/v2.4.0...v2.28.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_annotations&package-manager=maven&previous-version=2.4.0&new-version=2.28.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 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: commits-unsubscr...@tinkerpop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org