Skip to content

Commit

Permalink
change fn name
Browse files Browse the repository at this point in the history
  • Loading branch information
vikrantpuppala committed Apr 22, 2024
1 parent 99e73ed commit 8e129a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public ProxyConfig setProxyAuthType(ProxyAuthType proxyAuthType) {
return this;
}

public Boolean isUseSystemProperties() {
public Boolean getUseSystemProperties() {
return useSystemProperties;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static void setupProxy(ProxyConfig config, HttpClientBuilder builder) {
Integer proxyPort = null;
String proxyUser = null;
String proxyPassword = null;
if (config.isUseSystemProperties() != null && config.isUseSystemProperties()) {
if (config.getUseSystemProperties() != null && config.getUseSystemProperties()) {
builder.useSystemProperties();
String protocol = System.getProperty("https.proxyHost") != null ? "https" : "http";
proxyHost = System.getProperty(protocol + ".proxyHost");
Expand Down

0 comments on commit 8e129a5

Please sign in to comment.