Skip to content

Commit

Permalink
ELY-2618 Replacing if-else statement by return statement in OidcClien…
Browse files Browse the repository at this point in the history
…tConfiguration.java
  • Loading branch information
srishti committed Sep 22, 2023
1 parent fd18d21 commit 8294043
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 8294043

Please sign in to comment.