Bug 5740: Remove Serializable where not necessary
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / ImmutableElectionTerm.java
index 2760b4831852952869f5d062f9ff9c1d05fda661..56cda0307c8e35005b519fdaedfca62873ac6f3f 100644 (file)
@@ -32,12 +32,12 @@ public class ImmutableElectionTerm implements ElectionTerm {
     }
 
     @Override
-    public void update(long currentTerm, String votedFor) {
+    public void update(long newTerm, String newVotedFor) {
         throw new UnsupportedOperationException();
     }
 
     @Override
-    public void updateAndPersist(long currentTerm, String votedFor) {
+    public void updateAndPersist(long newTerm, String newVotedFor) {
         throw new UnsupportedOperationException();
     }