@@ -0,0 +1,461 @@
+package clj_tcp.util;%0A%0Aimport io.netty.channel.ChannelHandler;%0Aimport io.netty.channel.ChannelPipeline;%0Aimport io.netty.util.concurrent.EventExecutorGroup;%0A%0Aimport java.util.Collection;%0A%0A/**%0A * %0A * A util to avoid type casting%0A */%0Apublic class PipelineUtil %7B%0A%0A%09%0A%09public static final void addLast(ChannelPipeline pipeline, EventExecutorGroup group, Collection%3CChannelHandler%3E handlers)%7B%0A%09%09pipeline.addLast(group, handlers.toArray(new ChannelHandler%5B0%5D));%0A%09%7D%0A%09%0A%7D%0A

add external error-ch and remove reflection errors