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); }