Added a FIXME marker for StaticChannelPipeline
This commit is contained in:
parent
0596aaac48
commit
d26dc2791f
@ -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 + ']');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user