Term term = entry.getTerm();
visitor.term(mark, term.getTerm());
} else if (entry.hasVote()) {
Vote vote = entry.getVote();
String votedfor = vote.getVotedFor();
Replica replica = votedfor == null
? null : config.getReplica(votedfor);
visitor.vote(mark, Optional.fromNullable(replica));
}
}