Skip to content

Commit 256d2e4

Browse files
nitinsuranaslandelle
authored andcommitted
Fix AsyncHttpClientFactory#getAsyncHttpClient(AsyncHttpClientConfig), close AsyncHttpClient#1428
1 parent caec155 commit 256d2e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extras/registry/src/main/java/org/asynchttpclient/extras/registry/AsyncHttpClientFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static AsyncHttpClient getAsyncHttpClient() {
6363
public static AsyncHttpClient getAsyncHttpClient(AsyncHttpClientConfig config) {
6464
if (attemptInstantiation()) {
6565
try {
66-
Constructor<AsyncHttpClient> constructor = asyncHttpClientImplClass.getConstructor(DefaultAsyncHttpClientConfig.class);
66+
Constructor<AsyncHttpClient> constructor = asyncHttpClientImplClass.getConstructor(AsyncHttpClientConfig.class);
6767
return constructor.newInstance(config);
6868
} catch (Exception e) {
6969
throw new AsyncHttpClientImplException("Unable to find the instantiate the class specified by system property : "

0 commit comments

Comments
 (0)