Remove unnecessray for loop missed by fac0ca8319

This commit is contained in:
Norman Maurer 2017-01-19 19:13:57 +01:00
parent 0e654f77e2
commit cd9008f95b

View File

@ -236,9 +236,7 @@ public class ServerBootstrap extends AbstractBootstrap<ServerBootstrap, ServerCh
child.pipeline().addLast(childHandler);
for (Entry<ChannelOption<?>, Object> e: childOptions) {
setChannelOptions(child, childOptions, logger);
}
setChannelOptions(child, childOptions, logger);
for (Entry<AttributeKey<?>, Object> e: childAttrs) {
child.attr((AttributeKey<Object>) e.getKey()).set(e.getValue());