Fix inspector warnings
This commit is contained in:
parent
285f51d5ba
commit
2712ed9cbb
@ -43,7 +43,7 @@ public final class SocksServerConnectHandler extends SimpleChannelInboundHandler
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void channelRead0(final ChannelHandlerContext ctx, final SocksCmdRequest request) throws Exception {
|
public void channelRead0(final ChannelHandlerContext ctx, final SocksCmdRequest request) throws Exception {
|
||||||
Promise promise = ctx.executor().newPromise();
|
Promise<Channel> promise = ctx.executor().newPromise();
|
||||||
promise.addListener(
|
promise.addListener(
|
||||||
new GenericFutureListener<Future<Channel>>() {
|
new GenericFutureListener<Future<Channel>>() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -69,6 +69,7 @@ public class DatagramUnicastTest extends AbstractDatagramTest {
|
|||||||
run();
|
run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public void testSimpleSendWithoutBind(Bootstrap sb, Bootstrap cb) throws Throwable {
|
public void testSimpleSendWithoutBind(Bootstrap sb, Bootstrap cb) throws Throwable {
|
||||||
final CountDownLatch latch = new CountDownLatch(1);
|
final CountDownLatch latch = new CountDownLatch(1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user