X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fmessages%2FCommitTransactionReply.java;h=b50bbcc1f34fbe0c9d4a00af9689ec7415ba3cce;hb=8ec73bf853a9b6708b455c0321a585992e02b125;hp=2b800c8346657ddf5f8ce7e005302c41856c76ff;hpb=5a4560d475f0ed328275f1a5c7a5dae292acfb02;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CommitTransactionReply.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CommitTransactionReply.java index 2b800c8346..b50bbcc1f3 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CommitTransactionReply.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CommitTransactionReply.java @@ -11,7 +11,8 @@ package org.opendaylight.controller.cluster.datastore.messages; import org.opendaylight.controller.cluster.datastore.DataStoreVersions; import org.opendaylight.controller.protobuff.messages.cohort3pc.ThreePhaseCommitCohortMessages; -public class CommitTransactionReply extends EmptyReply { +public class CommitTransactionReply extends VersionedExternalizableMessage { + @Deprecated private static final Object SERIALIZED_INSTANCE = ThreePhaseCommitCohortMessages.CommitTransactionReply.newBuilder().build(); @@ -24,6 +25,7 @@ public class CommitTransactionReply extends EmptyReply { super(version); } + @Deprecated @Override protected Object newLegacySerializedInstance() { return SERIALIZED_INSTANCE;