Skip to content

Commit

Permalink
Merge pull request #1977 from nidhiazad/feature/ELY-2609_OSD_Nidhi_Azad
Browse files Browse the repository at this point in the history
ELY-2609 : Replace if-then-else statement with a single return statment in OidcPrincipal
  • Loading branch information
Skyllarr authored Sep 25, 2023
2 parents a8b34fd + bdcda63 commit 7ca66a1
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 7ca66a1

Please sign in to comment.