Remove legacy raft message Proxy constructors
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / messages / RequestVoteReply.java
index 7bfb7b68f0e07dda69f809666eb0f28ffc86875c..9a194223cee55d1c6fb43bf94fb3b66fb0af9144 100644 (file)
@@ -50,14 +50,9 @@ public final class RequestVoteReply extends AbstractRaftRPC {
         public Proxy() {
         }
 
-        Proxy(final RequestVoteReply requestVoteReply) {
-            this.requestVoteReply = requestVoteReply;
-        }
-
         @Override
-        public void writeExternal(final ObjectOutput out) throws IOException {
-            out.writeLong(requestVoteReply.getTerm());
-            out.writeBoolean(requestVoteReply.voteGranted);
+        public void writeExternal(final ObjectOutput out) {
+            throw new UnsupportedOperationException();
         }
 
         @Override