From 3f52689eb190df201608c4923b4cba161796a1eb Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Tue, 12 Apr 2016 16:36:23 +0200 Subject: [PATCH] Fix compile error introduced by 3046e9b78b2123c6303ea28179f870e6d8948f8e --- .../io/netty/handler/codec/http/HttpResponseDecoderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec-http/src/test/java/io/netty/handler/codec/http/HttpResponseDecoderTest.java b/codec-http/src/test/java/io/netty/handler/codec/http/HttpResponseDecoderTest.java index 6ab13c2fee..5706b06a34 100644 --- a/codec-http/src/test/java/io/netty/handler/codec/http/HttpResponseDecoderTest.java +++ b/codec-http/src/test/java/io/netty/handler/codec/http/HttpResponseDecoderTest.java @@ -542,7 +542,7 @@ public class HttpResponseDecoderTest { assertThat(ch.finish(), is(true)); ByteBuf expected = Unpooled.wrappedBuffer(otherData); - ByteBuf buffer = ch.readInbound(); + ByteBuf buffer = (ByteBuf) ch.readInbound(); try { assertEquals(expected, buffer); } finally {