Skip to content

Commit

Permalink
Format output
Browse files Browse the repository at this point in the history
  • Loading branch information
tejaskriya committed Feb 7, 2025
1 parent 4f183d5 commit de71a08
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,9 @@ public List<SCMCommand> dispatch(SCMHeartbeatRequestProto heartbeat) {
StringBuilder allCommands = new StringBuilder();
for (SCMCommand cmd : commands) {
allCommands.append("cmdID: ").append(cmd.getId());
allCommands.append(" encodedToken: " + cmd.getEncodedToken());
allCommands.append(" term: " + cmd.getTerm());
allCommands.append(" deadlineMsSinceEpoch: " + cmd.getDeadline());
allCommands.append(" encodedToken: \"").append(cmd.getEncodedToken()).append("\"");
allCommands.append(" term: ").append(cmd.getTerm());
allCommands.append(" deadlineMsSinceEpoch: ").append(cmd.getDeadline());
if (cmd.getType().equals(deleteBlocksCommand)) {
DeleteBlocksCommand delCmd = (DeleteBlocksCommand) cmd;
allCommands.append(" deleteBlocksTransactions: {");
Expand Down

0 comments on commit de71a08

Please sign in to comment.