Remove legacy raft message Proxy constructors
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / messages / InstallSnapshotReply.java
index 16cc900701b6c64fadbcfd9e057996eb4e134333..1579ba2ee45d54fe549d581f3c66faca53a0ee83 100644 (file)
@@ -66,16 +66,9 @@ public final class InstallSnapshotReply extends AbstractRaftRPC {
         public Proxy() {
         }
 
-        Proxy(final InstallSnapshotReply installSnapshotReply) {
-            this.installSnapshotReply = installSnapshotReply;
-        }
-
         @Override
-        public void writeExternal(final ObjectOutput out) throws IOException {
-            out.writeLong(installSnapshotReply.getTerm());
-            out.writeObject(installSnapshotReply.followerId);
-            out.writeInt(installSnapshotReply.chunkIndex);
-            out.writeBoolean(installSnapshotReply.success);
+        public void writeExternal(final ObjectOutput out) {
+            throw new UnsupportedOperationException();
         }
 
         @Override