dependabot[bot] opened a new pull request, #2585:
URL: https://github.com/apache/tinkerpop/pull/2585

   Bumps 
[com.google.errorprone:error_prone_annotations](https://github.com/google/error-prone)
 from 2.4.0 to 2.27.1.
   <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.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>
   <pre><code>error: package com.google.errorprone.annotations is not visible
   import com.google.errorprone.annotations.CheckReturnValue;
                               ^
     (package com.google.errorprone.annotations is declared in module 
com.google.errorprone.annotations, but module ... does not read it)
   </code></pre>
   <p>The fix is to add <code>requires static</code> to the module declaration 
of modularized libraries that depend on Error Prone annotations:</p>
   <pre lang="diff"><code> module your.module {
   ...
   +  requires static com.google.errorprone.annotations;
    }
   </code></pre>
   <hr />
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/google/error-prone/commit/464bb93d292123c750fe107984dcefc6f0905f00";><code>464bb93</code></a>
 Release Error Prone 2.27.1</li>
   <li><a 
href="https://github.com/google/error-prone/commit/bc3309a7dbe95d006ee190fb36f2d654779858d4";><code>bc3309a</code></a>
 Flag comparisons of <code>SomeEnum.valueOf(...)</code> to 
<code>null</code>.</li>
   <li><a 
href="https://github.com/google/error-prone/commit/6a8f4936b20e0a432d73930dac5f78517103af2f";><code>6a8f493</code></a>
 Don't scan into nested enums in ClassInitializationDeadlock</li>
   <li><a 
href="https://github.com/google/error-prone/commit/c8df502ab7cc8ce16b1a2e53533e7c247eba4a85";><code>c8df502</code></a>
 Make the logic of detecting at least one allowed usage more explicit.</li>
   <li><a 
href="https://github.com/google/error-prone/commit/fd9b826d595cabe56a66c060ce52504cd24630af";><code>fd9b826</code></a>
 Remove a very literal change-detector test, and move the comment to the 
produ...</li>
   <li><a 
href="https://github.com/google/error-prone/commit/f289d9ef8f523ba76b433c5273a539b4e526134f";><code>f289d9e</code></a>
 <code>VoidUsed</code>: flag <code>Void</code> variables being <em>used</em>, 
where they can simply be repl...</li>
   <li><a 
href="https://github.com/google/error-prone/commit/3ee6f41416ba8007eb7366c7dc644bcf1655f97f";><code>3ee6f41</code></a>
 Fix for a crash in RedundantSetterCall.</li>
   <li><a 
href="https://github.com/google/error-prone/commit/92c106da53f08cf876f2e37c5946e5a8d3c12d29";><code>92c106d</code></a>
 Encourage when/thenReturn over doReturn/when.</li>
   <li><a 
href="https://github.com/google/error-prone/commit/07c1a7c80b9e3cc0b8c38a3a46b464fda373f5b7";><code>07c1a7c</code></a>
 Stop mentioning <code>@Var</code> in[]</li>
   <li><a 
href="https://github.com/google/error-prone/commit/9d662726ccffcc9e9ec8746f0c2469f825a55ba2";><code>9d66272</code></a>
 Correction to UseCorrectAssertInTests.</li>
   <li>Additional commits viewable in <a 
href="https://github.com/google/error-prone/compare/v2.4.0...v2.27.1";>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.27.1)](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

Reply via email to