Fix compile error introduced by bad cherry-pick
This commit is contained in:
parent
ea2a8799f2
commit
0527ce16c1
@ -68,7 +68,7 @@ public class EpollDatagramUnicastTest extends DatagramUnicastTest {
|
|||||||
try {
|
try {
|
||||||
cb.handler(new SimpleChannelInboundHandler() {
|
cb.handler(new SimpleChannelInboundHandler() {
|
||||||
@Override
|
@Override
|
||||||
public void channelRead0(ChannelHandlerContext ctx, Object msgs) throws Exception {
|
public void messageReceived(ChannelHandlerContext ctx, Object msgs) throws Exception {
|
||||||
// Nothing will be sent.
|
// Nothing will be sent.
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -82,7 +82,7 @@ public class EpollDatagramUnicastTest extends DatagramUnicastTest {
|
|||||||
AtomicReference<Throwable> errorRef = new AtomicReference<Throwable>();
|
AtomicReference<Throwable> errorRef = new AtomicReference<Throwable>();
|
||||||
sc = sb.handler(new SimpleChannelInboundHandler<DatagramPacket>() {
|
sc = sb.handler(new SimpleChannelInboundHandler<DatagramPacket>() {
|
||||||
@Override
|
@Override
|
||||||
public void channelRead0(ChannelHandlerContext ctx, DatagramPacket packet) {
|
public void messageReceived(ChannelHandlerContext ctx, DatagramPacket packet) {
|
||||||
if (packet.content().readableBytes() == segmentSize) {
|
if (packet.content().readableBytes() == segmentSize) {
|
||||||
latch.countDown();
|
latch.countDown();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user