davisusanibar commented on code in PR #37723:
URL: https://github.com/apache/arrow/pull/37723#discussion_r1434367929


##########
java/memory/memory-core/src/main/java/org/apache/arrow/memory/BufferLedger.java:
##########
@@ -204,6 +205,8 @@ public void retain(int increment) {
    * @return derived buffer
    */
   @Override
+  @SuppressWarnings({"nullness:dereference.of.nullable", 
"nullness:locking.nullable"})

Review Comment:
   Just change to `historicalLog != null`, thank you. Just continue using 
`nullness:dereference.of.nullable` to exclude the buffers variable from 
validation inside this method. 



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