Skip to content

Commit

Permalink
fix OpenAPITools#8755 updating samples
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 993301e commit 8709e9a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1142,10 +1142,8 @@ public <T> ApiResponse<T> invokeAPI(String path, String method, List<Pair> query
* @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
Original file line number Diff line number Diff line change
Expand Up @@ -1142,10 +1142,8 @@ public <T> ApiResponse<T> invokeAPI(String path, String method, List<Pair> query
* @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
Original file line number Diff line number Diff line change
Expand Up @@ -1062,10 +1062,8 @@ public <T> ApiResponse<T> invokeAPI(String path, String method, List<Pair> query
* @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
Original file line number Diff line number Diff line change
Expand Up @@ -1007,10 +1007,8 @@ public <T> ApiResponse<T> invokeAPI(String path, String method, List<Pair> query
* @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
Original file line number Diff line number Diff line change
Expand Up @@ -1226,10 +1226,8 @@ public <T> ApiResponse<T> invokeAPI(String path, String method, List<Pair> query
* @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 8709e9a

Please sign in to comment.