Fix checkstyle

This commit is contained in:
Trustin Lee 2013-03-21 19:02:34 +09:00
parent cfa2f72681
commit bd8d53eaed

View File

@ -568,7 +568,9 @@ public abstract class AbstractChannel extends DefaultAttributeMap implements Cha
return; return;
} }
if (!isCompatible(eventLoop)) { if (!isCompatible(eventLoop)) {
promise.setFailure(new IllegalStateException("incompatible event loop type: " + eventLoop.getClass().getName())); promise.setFailure(
new IllegalStateException("incompatible event loop type: " + eventLoop.getClass().getName()));
return;
} }
AbstractChannel.this.eventLoop = eventLoop; AbstractChannel.this.eventLoop = eventLoop;