vibhatha commented on code in PR #39011:
URL: https://github.com/apache/arrow/pull/39011#discussion_r1425059595
##########
java/memory/memory-core/src/test/java/org/apache/arrow/memory/TestBaseAllocator.java:
##########
@@ -448,73 +443,73 @@ public ArrowBuf empty() {
@Test
public void testRootAllocator_listeners() throws Exception {
CountingAllocationListener l1 = new CountingAllocationListener();
- assertEquals(0, l1.getNumPreCalls());
- assertEquals(0, l1.getNumCalls());
- assertEquals(0, l1.getNumReleaseCalls());
- assertEquals(0, l1.getNumChildren());
- assertEquals(0, l1.getTotalMem());
+ Assert.assertEquals(0, l1.getNumPreCalls());
Review Comment:
nit: should we make `l1` -> `listner1`. I know it is not related to this PR
`11` vs `l1`, just for the readability. And may be the following names too?
--
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]