We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c63656 commit 5a9aa46Copy full SHA for 5a9aa46
src/test/java/com/ning/http/client/async/ListenableFutureTest.java
@@ -41,7 +41,7 @@ public void testListenableFuture() throws Throwable {
41
final AtomicInteger statusCode = new AtomicInteger(500);
42
AsyncHttpClient ahc = getAsyncHttpClient(null);
43
final CountDownLatch latch = new CountDownLatch(1);
44
- final Future<Response> future = ((ListenableFuture<Response>)ahc.prepareGet(getTargetUrl()).execute());
+ final Future<Response> future = ahc.prepareGet(getTargetUrl()).execute();
45
((ListenableFuture)future).addListener(new Runnable(){
46
47
public void run() {
0 commit comments