Skip to content

Commit

Permalink
Checkstyle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ivandika3 committed May 27, 2024
1 parent 0c042a4 commit 0cb21b3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,8 @@ static RaftClientReply toRaftClientReply(RaftClientReplyProto replyProto) {
e = new NotLeaderException(serverMemberId, suggestedLeader, peers);
} else if (replyProto.getExceptionDetailsCase() == NOTREPLICATEDEXCEPTION) {
final NotReplicatedExceptionProto nre = replyProto.getNotReplicatedException();
e = new NotReplicatedException(nre.getCallId(), nre.getReplication(), nre.getLogIndex(), replyProto.getCommitInfosList());
e = new NotReplicatedException(nre.getCallId(), nre.getReplication(), nre.getLogIndex(),
replyProto.getCommitInfosList());
} else if (replyProto.getExceptionDetailsCase().equals(STATEMACHINEEXCEPTION)) {
e = toStateMachineException(serverMemberId, replyProto.getStateMachineException());
} else if (replyProto.getExceptionDetailsCase().equals(DATASTREAMEXCEPTION)) {
Expand Down

0 comments on commit 0cb21b3

Please sign in to comment.