Remove cruft
This commit is contained in:
parent
6f86f38ae9
commit
952e7bbec7
@ -17,8 +17,6 @@ package io.netty.util.concurrent;
|
|||||||
|
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
import java.util.concurrent.RunnableFuture;
|
import java.util.concurrent.RunnableFuture;
|
||||||
import java.util.logging.Level;
|
|
||||||
import java.util.logging.Logger;
|
|
||||||
|
|
||||||
class PromiseTask<V> extends DefaultPromise<V> implements RunnableFuture<V> {
|
class PromiseTask<V> extends DefaultPromise<V> implements RunnableFuture<V> {
|
||||||
|
|
||||||
@ -86,8 +84,6 @@ class PromiseTask<V> extends DefaultPromise<V> implements RunnableFuture<V> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected final Promise<V> setFailureInternal(Throwable cause) {
|
protected final Promise<V> setFailureInternal(Throwable cause) {
|
||||||
Logger.getLogger(PromiseTask.class.getName()).log(
|
|
||||||
Level.WARNING, "Calling setFailureInternal(" + cause + ") on " + this, new Exception());
|
|
||||||
super.setFailure(cause);
|
super.setFailure(cause);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@ -107,8 +103,6 @@ class PromiseTask<V> extends DefaultPromise<V> implements RunnableFuture<V> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected final Promise<V> setSuccessInternal(V result) {
|
protected final Promise<V> setSuccessInternal(V result) {
|
||||||
Logger.getLogger(PromiseTask.class.getName()).log(
|
|
||||||
Level.WARNING, "Calling setSuccessInternal() on " + this, new Exception());
|
|
||||||
super.setSuccess(result);
|
super.setSuccess(result);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user