Skip to content

Commit

Permalink
ELY-2609 : Replace if-then-else statement with a single return statem…
Browse files Browse the repository at this point in the history
…ent in OidcPrincipal
  • Loading branch information
Nidhi committed Sep 22, 2023
1 parent 37dc8b3 commit bdcda63
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ public boolean equals(Object o) {

OidcPrincipal that = (OidcPrincipal) o;

if (! name.equals(that.name)) return false;

return true;
return name.equals(that.name);
}

@Override
Expand Down

0 comments on commit bdcda63

Please sign in to comment.