Skip to content

Commit

Permalink
Fix Java 8 compatibility (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianobarrios committed Oct 29, 2023
1 parent 151c1ba commit 58c77df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ public class DirectBufferDeallocatorTest {

@Test
public void testDirectBufferDeallocator() {
var deallocator = new DirectBufferDeallocator();
var buffer = ByteBuffer.allocateDirect(1000);
DirectBufferDeallocator deallocator = new DirectBufferDeallocator();
ByteBuffer buffer = ByteBuffer.allocateDirect(1000);
deallocator.deallocate(buffer);
}
}

0 comments on commit 58c77df

Please sign in to comment.