Supress warnings
This commit is contained in:
parent
e1cbcd6456
commit
8c0146fbd8
@ -50,6 +50,7 @@ public class AioServerSocketChannelConfig extends DefaultChannelConfig
|
||||
return getOptions(super.getOptions(), SO_RCVBUF, SO_REUSEADDR, SO_BACKLOG);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public <T> T getOption(ChannelOption<T> option) {
|
||||
if (option == SO_RCVBUF) {
|
||||
|
@ -51,6 +51,7 @@ public class AioSocketChannelConfig extends DefaultChannelConfig
|
||||
SO_RCVBUF, SO_SNDBUF, TCP_NODELAY, SO_KEEPALIVE, SO_REUSEADDR, SO_LINGER, IP_TOS);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public <T> T getOption(ChannelOption<T> option) {
|
||||
if (option == SO_RCVBUF) {
|
||||
|
Loading…
Reference in New Issue
Block a user