Skip to content

Commit

Permalink
Merge pull request #21872 from dreis2211
Browse files Browse the repository at this point in the history
* pr/21872:
  Fix deprecation in NettyRSocketServerFactoryTests

Closes gh-21872
  • Loading branch information
mbhave committed Jun 11, 2020
2 parents fc3c5c8 + 469dfc2 commit 0165fee
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
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;
Expand Down Expand Up @@ -202,7 +201,7 @@ static class EchoRequestResponseAcceptor implements SocketAcceptor {

@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));
Expand Down

0 comments on commit 0165fee

Please sign in to comment.