Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bug 2538: Remove redundant Augmentation checks and tests
[controller.git]
/
opendaylight
/
md-sal
/
sal-akka-raft
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
raft
/
messages
/
RequestVote.java
diff --git
a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/RequestVote.java
b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/RequestVote.java
index 6ef2a06285fedb85997f79b3763d367d46ceb663..9ba5acb664700f4873d51fdb9f2637ef882c360e 100644
(file)
--- a/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/RequestVote.java
+++ b/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/messages/RequestVote.java
@@
-12,6
+12,7
@@
package org.opendaylight.controller.cluster.raft.messages;
* Invoked by candidates to gather votes (§5.2).
*/
public class RequestVote extends AbstractRaftRPC {
* Invoked by candidates to gather votes (§5.2).
*/
public class RequestVote extends AbstractRaftRPC {
+ private static final long serialVersionUID = -6967509186297108657L;
// candidate requesting vote
private String candidateId;
// candidate requesting vote
private String candidateId;
@@
-34,6
+35,7
@@
public class RequestVote extends AbstractRaftRPC {
public RequestVote() {
}
public RequestVote() {
}
+ @Override
public long getTerm() {
return term;
}
public long getTerm() {
return term;
}