Skip to content

Commit

Permalink
Merge pull request #1971 from srishtih/ely2618
Browse files Browse the repository at this point in the history
ELY-2618 Replacing if-else statement by return statement in OidcClientConfiguration.java
  • Loading branch information
Skyllarr authored Sep 22, 2023
2 parents 653200e + 8294043 commit 057c503
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -419,10 +419,7 @@ public void setSSLRequired(SSLRequired sslRequired) {
}

public boolean isSSLEnabled() {
if (SSLRequired.NONE == sslRequired) {
return false;
}
return true;
return SSLRequired.NONE != sslRequired;
}

public int getConfidentialPort() {
Expand Down

0 comments on commit 057c503

Please sign in to comment.