Fix compile error introduced by bad cherry-pick

This commit is contained in:
Norman Maurer 2021-02-28 09:54:00 +01:00
parent ea2a8799f2
commit 0527ce16c1

View File

@ -68,7 +68,7 @@ public class EpollDatagramUnicastTest extends DatagramUnicastTest {
try {
cb.handler(new SimpleChannelInboundHandler() {
@Override
public void channelRead0(ChannelHandlerContext ctx, Object msgs) throws Exception {
public void messageReceived(ChannelHandlerContext ctx, Object msgs) throws Exception {
// Nothing will be sent.
}
});
@ -82,7 +82,7 @@ public class EpollDatagramUnicastTest extends DatagramUnicastTest {
AtomicReference<Throwable> errorRef = new AtomicReference<Throwable>();
sc = sb.handler(new SimpleChannelInboundHandler<DatagramPacket>() {
@Override
public void channelRead0(ChannelHandlerContext ctx, DatagramPacket packet) {
public void messageReceived(ChannelHandlerContext ctx, DatagramPacket packet) {
if (packet.content().readableBytes() == segmentSize) {
latch.countDown();
}