Closed ChubChen closed 1 year ago
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.
This is still an issue @stcheng. Try compiling this project on newer versions of guava (~31) and compilation will not pass because Futures.addCallback requires three parameters now. I believe you can pass MoreExecutors.directExecutor() as the third param and that will make it happy with both 20 and 31+.
Still an issue. Any news on this?
return Futures.transform( executeAsyncInternal(extraParams), new Function<ResponseWrapper, APINodeList>() {
public APINodeList apply(ResponseWrapper result) {
try {
return APIRequestGetInsights.this.parseResponse(result.getBody(), result.getHeader());
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}
);
error