From b4a63825833b033d12010309401e4e8774af4192 Mon Sep 17 00:00:00 2001 From: Jianghao Lu Date: Tue, 2 Aug 2016 14:10:27 -0700 Subject: [PATCH] Simply signature for async service calls --- .../src/main/java/com/microsoft/rest/ServiceCall.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client-runtime/src/main/java/com/microsoft/rest/ServiceCall.java b/client-runtime/src/main/java/com/microsoft/rest/ServiceCall.java index 85a4a43db000b..94b1abfb9bb63 100644 --- a/client-runtime/src/main/java/com/microsoft/rest/ServiceCall.java +++ b/client-runtime/src/main/java/com/microsoft/rest/ServiceCall.java @@ -18,7 +18,7 @@ * * @param the type of the returning object */ -public class ServiceCall extends AbstractFuture { +public class ServiceCall extends AbstractFuture> { /** * The Retrofit method invocation. */ @@ -71,10 +71,10 @@ public boolean isCanceled() { * Invoke this method to report completed, allowing * {@link AbstractFuture#get()} to be unblocked. * - * @param result the object returned. + * @param result the service response returned. * @return true if successfully reported; false otherwise. */ - public boolean success(T result) { + public boolean success(ServiceResponse result) { return set(result); }