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