You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src\main\java\me\lucko\helper\promise\HelperPromise.java:92: error: method addCallback in class Futures cannot be applied to given types;
Futures.addCallback(fut, new FutureCallback<U>() {
^
required: ListenableFuture<V>,FutureCallback<? super V>,Executor
found: ListenableFuture<U>,<anonymous FutureCallback<U>>
reason: cannot infer type-variable(s) V
(actual and formal argument lists differ in length)
where V,U are type-variables:
V extends Object declared in method <V>addCallback(ListenableFuture<V>,FutureCallback<? super V>,Executor)
U extends Object declared in method <U>wrapFuture(Future<U>)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: