From 2abaf505706d9a0f324a5ce42f739a2cd4f2d801 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Wed, 21 Aug 2019 10:40:36 +0200 Subject: [PATCH] Fix compile error introduced by 67b851209fb21d4402aebfa272f6902fa20bd772 --- .../http/websocketx/WebSocketServerProtocolHandlerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java b/codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java index 6238d0eb45..dbffc262d1 100644 --- a/codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java +++ b/codec-http/src/test/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandlerTest.java @@ -66,7 +66,7 @@ public class WebSocketServerProtocolHandlerTest { public void testWebSocketServerProtocolHandshakeHandlerReplacedBeforeHandshake() throws Exception { EmbeddedChannel ch = createChannel(new MockOutboundHandler()); ChannelHandlerContext handshakerCtx = ch.pipeline().context(WebSocketServerProtocolHandshakeHandler.class); - ch.pipeline().addLast(new ChannelInboundHandlerAdapter() { + ch.pipeline().addLast(new ChannelHandler() { @Override public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception { if (evt instanceof WebSocketServerProtocolHandler.HandshakeComplete) {