dant3 commented on code in PR #3373:
URL: https://github.com/apache/ignite-3/pull/3373#discussion_r1515859704


##########
modules/core/src/main/java/org/apache/ignite/internal/util/OffheapReadWriteLock.java:
##########
@@ -346,7 +347,7 @@ private void signalNextWaiter(int writeWaitCnt, int idx) {
      *      the write lock without leaving a gap. Returns {@code false} 
otherwise, in this case the resource
      *      state must be re-validated.
      */
-    public Boolean upgradeToWriteLock(long lock, int tag) {
+    public @Nullable Boolean upgradeToWriteLock(long lock, int tag) {

Review Comment:
   Javadoc and the code of the method states that it can return null, so I 
didn't changed that since i'm not the code owner. Maybe it's worth to raise 
separate issue for that?



-- 
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]

Reply via email to