Skip to content

Commit

Permalink
Simplify if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
dnskr authored and tdcmeehan committed Apr 24, 2024
1 parent 4fdcdb1 commit 961ff31
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ public boolean equals(Object o)

ServiceType that = (ServiceType) o;

if (!value.equals(that.value())) {
return false;
}

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

@Override
Expand Down

0 comments on commit 961ff31

Please sign in to comment.