Add proper toString() implementation for internal ChannelFactory impls
This commit is contained in:
parent
918666481e
commit
c661c344ed
@ -309,7 +309,12 @@ public class ServerBootstrap extends AbstractBootstrap<ServerBootstrap> {
|
||||
private final class AioServerSocketChannelFactory implements ChannelFactory {
|
||||
@Override
|
||||
public Channel newChannel() {
|
||||
return new AioServerSocketChannel((AioEventLoopGroup) group(), (AioEventLoopGroup) childGroup);
|
||||
return new AioServerSocketChannel((AioEventLoopGroup) group(), (AioEventLoopGroup) childGroup);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return AioServerSocketChannel.class.getSimpleName() + ".class";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user