Skip to content

Commit

Permalink
fix #8755 [BUG] Java (jersey2) ApiClient debug cannot be enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
tomred-net authored and Dermot Butterfield committed Feb 22, 2021
1 parent 047a71c commit 993301e
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1228,10 +1228,8 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
* @return Client
*/
protected Client buildHttpClient() {
// use the default client config if not yet initialized
if (clientConfig == null) {
clientConfig = getDefaultClientConfig();
}
// recreate the client config to pickup changes
clientConfig = getDefaultClientConfig();
ClientBuilder clientBuilder = ClientBuilder.newBuilder();
customizeClientBuilder(clientBuilder);
Expand Down

0 comments on commit 993301e

Please sign in to comment.