facebook-java-business-sdk
facebook-java-business-sdk copied to clipboard
Guava Vesion too Old
return Futures.transform( executeAsyncInternal(extraParams), new Function<ResponseWrapper, APINodeList<AdsInsights>>() { public APINodeList<AdsInsights> apply(ResponseWrapper result) { try { return APIRequestGetInsights.this.parseResponse(result.getBody(), result.getHeader()); } catch (Exception e) { throw new RuntimeException(e); } } } );
error
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?