Remove SimpleReplicatedLogEntry.Proxy constructor 65/105165/3
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 3 Apr 2023 13:44:25 +0000 (15:44 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 3 Apr 2023 18:49:41 +0000 (18:49 +0000)
We are not using this proxy in the write path, remove its constructor.

Change-Id: Ifeefcd8cfc787306d16cbd13daf5e4537e80da91
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/persisted/SimpleReplicatedLogEntry.java

index d075a417017a6066e08d62306f68c85e52508e89..c5bb3e2d4a98378898e058c369037647462ab20e 100644 (file)
@@ -50,12 +50,6 @@ public sealed class SimpleReplicatedLogEntry implements ReplicatedLogEntry, Seri
             // For Externalizable
         }
 
-        Proxy(final SimpleReplicatedLogEntry replicatedLogEntry) {
-            index = replicatedLogEntry.getIndex();
-            term = replicatedLogEntry.getTerm();
-            data = replicatedLogEntry.getData();
-        }
-
         @Override
         public void writeExternal(final ObjectOutput out) throws IOException {
             out.writeLong(index);