Fix build failure

This commit is contained in:
Trustin Lee 2012-02-29 13:26:35 -08:00
parent 1589dadcce
commit c62b47228e

View File

@ -21,7 +21,7 @@ import io.netty.channel.DefaultChannelFuture;
public class ChannelRunnableWrapper extends DefaultChannelFuture implements Runnable { public class ChannelRunnableWrapper extends DefaultChannelFuture implements Runnable {
private final Runnable task; private final Runnable task;
private boolean started = false; private boolean started;
public ChannelRunnableWrapper(Channel channel, Runnable task) { public ChannelRunnableWrapper(Channel channel, Runnable task) {
super(channel, true); super(channel, true);
@ -30,7 +30,7 @@ public class ChannelRunnableWrapper extends DefaultChannelFuture implements Runn
@Override @Override
public void run() { public void run() {
synchronized(this) { synchronized (this) {
if (!isCancelled()) { if (!isCancelled()) {
started = true; started = true;
} else { } else {