dlmarion commented on PR #5493:
URL: https://github.com/apache/accumulo/pull/5493#issuecomment-2821654289

   I have included a fix for this in #5492. Instead of using `0` as the default 
value, I instead changed `getOrDefault` to `computeIfAbsent`. `getOrDefault` 
doesn't put the value into the map, so in this case the value would always be 
zero and the out of bounds check would always be performed regardless of the 
out of bound property value.


-- 
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: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to