From d951140c565a081bf952a44c2fc9585cfc824e51 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Thu, 4 Jul 2019 09:01:39 +0200 Subject: [PATCH] Fix compile error introduced by bad cherry-pick of f7e8603d604870e3b575e653f9ee7d6ed981998f --- .../test/java/io/netty/handler/flow/FlowControlHandlerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/src/test/java/io/netty/handler/flow/FlowControlHandlerTest.java b/handler/src/test/java/io/netty/handler/flow/FlowControlHandlerTest.java index 2a9deb78ca..c0a6e8addc 100644 --- a/handler/src/test/java/io/netty/handler/flow/FlowControlHandlerTest.java +++ b/handler/src/test/java/io/netty/handler/flow/FlowControlHandlerTest.java @@ -373,7 +373,7 @@ public class FlowControlHandlerTest { final Exchanger peerRef = new Exchanger(); final CountDownLatch latch = new CountDownLatch(3); final AtomicReference causeRef = new AtomicReference(); - ChannelInboundHandlerAdapter handler = new ChannelDuplexHandler() { + ChannelHandler handler = new ChannelHandler() { @Override public void channelActive(ChannelHandlerContext ctx) throws Exception { ctx.fireChannelActive();