From d26dc2791f5e27b5e63472097ed1f94c591aeba0 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Thu, 7 Jan 2010 05:44:44 +0000 Subject: [PATCH] Added a FIXME marker for StaticChannelPipeline --- src/main/java/org/jboss/netty/channel/StaticChannelPipeline.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/jboss/netty/channel/StaticChannelPipeline.java b/src/main/java/org/jboss/netty/channel/StaticChannelPipeline.java index 0cd709161e..6fa25ec87a 100644 --- a/src/main/java/org/jboss/netty/channel/StaticChannelPipeline.java +++ b/src/main/java/org/jboss/netty/channel/StaticChannelPipeline.java @@ -70,6 +70,7 @@ public class StaticChannelPipeline implements ChannelPipeline { for (int i = 0; i < contexts.length; i ++) { ChannelHandler h = handlers[i]; if (h == null) { + // FIXME: Should just break the loop on null throw new NullPointerException("handlers[" + i + ']'); }