diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactoryTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactoryTests.java index d073e0f78a..89ae9a827b 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactoryTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/rsocket/netty/NettyRSocketServerFactoryTests.java @@ -198,7 +198,6 @@ class NettyRSocketServerFactoryTests { static class EchoRequestResponseAcceptor implements SocketAcceptor { @Override - @SuppressWarnings("deprecation") public Mono accept(ConnectionSetupPayload setupPayload, RSocket rSocket) { return Mono.just(new RSocket() { @Override