3737
3838import org .junit .jupiter .api .Test ;
3939
40- public class TestPooledByteBufferAllocator {
40+ class TestPooledByteBufferAllocator {
4141
4242 @ Test
43- public void testNonPooledExactCapacity () {
43+ void testNonPooledExactCapacity () {
4444 final PooledByteBufferAllocator allocator = new PooledByteBufferAllocator (
4545 64 , 1024 , 16 , 8 );
4646
@@ -56,7 +56,7 @@ public void testNonPooledExactCapacity() {
5656 }
5757
5858 @ Test
59- public void testPooledRoundedCapacityAndLimit () {
59+ void testPooledRoundedCapacityAndLimit () {
6060 final PooledByteBufferAllocator allocator = new PooledByteBufferAllocator (
6161 64 , 1024 , 16 , 8 );
6262
@@ -75,7 +75,7 @@ public void testPooledRoundedCapacityAndLimit() {
7575 }
7676
7777 @ Test
78- public void testPooledReusesLocalCache () {
78+ void testPooledReusesLocalCache () {
7979 final PooledByteBufferAllocator allocator = new PooledByteBufferAllocator (
8080 64 , 1024 , 16 , 8 );
8181
@@ -95,7 +95,7 @@ public void testPooledReusesLocalCache() {
9595 }
9696
9797 @ Test
98- public void testReleaseResetsLimitForNextUse () {
98+ void testReleaseResetsLimitForNextUse () {
9999 final PooledByteBufferAllocator allocator = new PooledByteBufferAllocator (
100100 64 , 1024 , 16 , 8 );
101101
@@ -116,7 +116,7 @@ public void testReleaseResetsLimitForNextUse() {
116116 }
117117
118118 @ Test
119- public void testDirectAndHeapArePooledSeparately () {
119+ void testDirectAndHeapArePooledSeparately () {
120120 final PooledByteBufferAllocator allocator = new PooledByteBufferAllocator (
121121 64 , 1024 , 16 , 8 );
122122
@@ -136,7 +136,7 @@ public void testDirectAndHeapArePooledSeparately() {
136136 }
137137
138138 @ Test
139- public void testToStringDoesNotThrow () {
139+ void testToStringDoesNotThrow () {
140140 final PooledByteBufferAllocator allocator = new PooledByteBufferAllocator (
141141 64 , 1024 , 16 , 8 );
142142
0 commit comments