alievmirza commented on code in PR #3373:
URL: https://github.com/apache/ignite-3/pull/3373#discussion_r1515848185
##########
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:
Seems like `Boolean` could be changed to `boolean`
--
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]