Fix checkstyle
This commit is contained in:
parent
6dfa455f9e
commit
05bc0ba17f
@ -99,7 +99,7 @@ public class DefaultPromise<V> extends AbstractFuture<V> implements Promise<V> {
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public Promise<V> addListener(GenericFutureListener <? extends Future<V>> listener) {
|
||||
public Promise<V> addListener(GenericFutureListener<? extends Future<V>> listener) {
|
||||
if (listener == null) {
|
||||
throw new NullPointerException("listener");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user