diff --git a/transport/src/main/java/io/netty/channel/socket/aio/AioSocketChannelConfig.java b/transport/src/main/java/io/netty/channel/socket/aio/AioSocketChannelConfig.java index b5d23b1338..3be37ea7a2 100644 --- a/transport/src/main/java/io/netty/channel/socket/aio/AioSocketChannelConfig.java +++ b/transport/src/main/java/io/netty/channel/socket/aio/AioSocketChannelConfig.java @@ -58,7 +58,6 @@ final class AioSocketChannelConfig extends DefaultChannelConfig } @Override - @SuppressWarnings("unchecked") public T getOption(ChannelOption option) { if (option == SO_RCVBUF) { return (T) Integer.valueOf(getReceiveBufferSize());