Added a FIXME marker for StaticChannelPipeline

This commit is contained in:
Trustin Lee 2010-01-07 05:44:44 +00:00
parent 0596aaac48
commit d26dc2791f

View File

@ -70,6 +70,7 @@ public class StaticChannelPipeline implements ChannelPipeline {
for (int i = 0; i < contexts.length; i ++) { for (int i = 0; i < contexts.length; i ++) {
ChannelHandler h = handlers[i]; ChannelHandler h = handlers[i];
if (h == null) { if (h == null) {
// FIXME: Should just break the loop on null
throw new NullPointerException("handlers[" + i + ']'); throw new NullPointerException("handlers[" + i + ']');
} }