Skip to content

Commit

Permalink
apply spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Shivansh Arora <[email protected]>
  • Loading branch information
shiv0408 committed Sep 3, 2024
1 parent 61190c4 commit aa14237
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ public boolean equals(Object o) {

PublishRequest that = (PublishRequest) o;

return acceptedState.term() == that.acceptedState.term() && acceptedState.version() == that.acceptedState.version() && Objects.equals(acceptedManifest, that.acceptedManifest);
return acceptedState.term() == that.acceptedState.term()
&& acceptedState.version() == that.acceptedState.version()
&& Objects.equals(acceptedManifest, that.acceptedManifest);
}

@Override
Expand All @@ -87,6 +89,14 @@ public int hashCode() {

@Override
public String toString() {
return "PublishRequest{term=" + acceptedState.term() + ", version=" + acceptedState.version() + ", state=" + acceptedState + ", manifest=" + acceptedManifest + '}';
return "PublishRequest{term="
+ acceptedState.term()
+ ", version="
+ acceptedState.version()
+ ", state="
+ acceptedState
+ ", manifest="
+ acceptedManifest
+ '}';
}
}

0 comments on commit aa14237

Please sign in to comment.