Skip to content

Commit

Permalink
less confused name isTrustDefaultCerts is used
Browse files Browse the repository at this point in the history
  • Loading branch information
Amila-Rukshan committed Oct 21, 2022
1 parent b1fb4a7 commit c4c6dae
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 @@ -370,7 +370,7 @@ private void loadTrustStore() {
trustStore = KeyStore.getInstance(KeyStore.getDefaultType());
trustStore.load(null);

if (getEnvVarConfig().getTrustDefaultCerts()) {
if (getEnvVarConfig().isTrustDefaultCerts()) {
loadDefaultCertsToTrustStore();
}
loadTrustedCertsToTrustStore();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public String getTrustedAdapterCertsPath() {
return trustedAdapterCertsPath;
}

public boolean getTrustDefaultCerts() {
public boolean isTrustDefaultCerts() {
return Boolean.valueOf(trustDefaultCerts);
}

Expand Down

0 comments on commit c4c6dae

Please sign in to comment.