Add missing null check that was missed in 844976a0a2

This commit is contained in:
Norman Maurer 2016-05-31 14:05:03 +02:00
parent 844976a0a2
commit c43b424f56

View File

@ -151,7 +151,7 @@ public class EmbeddedChannel extends AbstractChannel {
final ChannelHandler... handlers) {
super(null, channelId);
metadata = metadata(hasDisconnect);
this.config = config;
this.config = ObjectUtil.checkNotNull(config, "config");
setup(handlers);
}