diff --git a/src/main/java/org/stellar/sdk/requests/OffersRequestBuilder.java b/src/main/java/org/stellar/sdk/requests/OffersRequestBuilder.java index 133780aa9..6c19b2d80 100644 --- a/src/main/java/org/stellar/sdk/requests/OffersRequestBuilder.java +++ b/src/main/java/org/stellar/sdk/requests/OffersRequestBuilder.java @@ -6,7 +6,6 @@ import org.stellar.sdk.KeyPair; import org.stellar.sdk.responses.OfferResponse; import org.stellar.sdk.responses.Page; -import org.stellar.sdk.responses.TransactionResponse; import java.io.IOException; import java.net.URI; @@ -40,14 +39,14 @@ public OffersRequestBuilder forAccount(KeyPair account) { * @throws IOException */ public static Page execute(URI uri) throws IOException, TooManyRequestsException { - TypeToken type = new TypeToken>() {}; + TypeToken type = new TypeToken>() {}; ResponseHandler> responseHandler = new ResponseHandler>(type); return (Page) Request.Get(uri).execute().handleResponse(responseHandler); } /** * Build and execute request. - * @return {@link Page} of {@link TransactionResponse} + * @return {@link Page} of {@link OfferResponse} * @throws TooManyRequestsException when too many requests were sent to the Horizon server. * @throws IOException */