Merge pull request #21872 from dreis2211

* pr/21872:
  Fix deprecation in NettyRSocketServerFactoryTests

Closes gh-21872
pull/22035/head
Madhura Bhave 4 years ago
commit 0165fee19c

@ -22,7 +22,6 @@ import java.util.Arrays;
import java.util.concurrent.Callable;
import io.netty.buffer.PooledByteBufAllocator;
import io.rsocket.AbstractRSocket;
import io.rsocket.ConnectionSetupPayload;
import io.rsocket.Payload;
import io.rsocket.RSocket;
@ -202,7 +201,7 @@ class NettyRSocketServerFactoryTests {
@Override
public Mono<RSocket> accept(ConnectionSetupPayload setupPayload, RSocket rSocket) {
return Mono.just(new AbstractRSocket() {
return Mono.just(new RSocket() {
@Override
public Mono<Payload> requestResponse(Payload payload) {
return Mono.just(DefaultPayload.create(payload));

Loading…
Cancel
Save