Skip to content

Commit fe9f29f

Browse files
committed
Suppress deprecation warning in AbstractDataBufferAllocatingTests
1 parent 0556fde commit fe9f29f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-core/src/testFixtures/java/org/springframework/core/testfixture/io/buffer/AbstractDataBufferAllocatingTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ private static long getAllocations(List<PoolArenaMetric> metrics) {
153153
public @interface ParameterizedDataBufferAllocatingTest {
154154
}
155155

156+
@SuppressWarnings("deprecation") // PooledByteBufAllocator no longer supports tinyCacheSize.
156157
public static Stream<Arguments> dataBufferFactories() {
157158
return Stream.of(
158159
arguments("NettyDataBufferFactory - UnpooledByteBufAllocator - preferDirect = true",

0 commit comments

Comments
 (0)