diff --git a/src/test/scala/tlschannel/util/DirectBufferDeallocatorTest.java b/src/test/scala/tlschannel/util/DirectBufferDeallocatorTest.java index 3f749134..99472c00 100644 --- a/src/test/scala/tlschannel/util/DirectBufferDeallocatorTest.java +++ b/src/test/scala/tlschannel/util/DirectBufferDeallocatorTest.java @@ -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); } }