Fix a compiler warning
This commit is contained in:
parent
de40a8d09b
commit
fae3861c3a
@ -50,7 +50,6 @@ public class AioServerSocketChannelConfig extends DefaultChannelConfig
|
|||||||
return getOptions(super.getOptions(), SO_RCVBUF, SO_REUSEADDR, SO_BACKLOG);
|
return getOptions(super.getOptions(), SO_RCVBUF, SO_REUSEADDR, SO_BACKLOG);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
@Override
|
@Override
|
||||||
public <T> T getOption(ChannelOption<T> option) {
|
public <T> T getOption(ChannelOption<T> option) {
|
||||||
if (option == SO_RCVBUF) {
|
if (option == SO_RCVBUF) {
|
||||||
|
Loading…
Reference in New Issue
Block a user