Merge pull request #18 from camlow325/bug/master/TK-88-errant-client-build

(TK-88) Removed errant build call from JavaClient's createClient()
This commit is contained in:
Chris Price 2014-10-01 13:39:34 -07:00
commit 7043a96295

View file

@ -231,7 +231,7 @@ public class JavaClient {
private static CloseableHttpAsyncClient createClient(CoercedRequestOptions coercedOptions) {
HttpAsyncClientBuilder clientBuilder = HttpAsyncClients.custom();
if (coercedOptions.getSslContext() != null) {
clientBuilder.setSSLContext(coercedOptions.getSslContext()).build();
clientBuilder.setSSLContext(coercedOptions.getSslContext());
}
RedirectStrategy redirectStrategy;
if (!coercedOptions.getFollowRedirects()) {