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%2FCloseTransactionReply.java;h=3e32233959c8c6df3a36c96e0e3da2cc3c72cf25;hb=11e722671c6dc194761471038a4e3ca5f7fd8970;hp=1c47a1827f11f86f26ee13c2d81237adcdd55f6b;hpb=3f153e5fa694fe4147e72e615edbb5c263e5a394;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionReply.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionReply.java index 1c47a1827f..3e32233959 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionReply.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionReply.java @@ -8,19 +8,14 @@ package org.opendaylight.controller.cluster.datastore.messages; -import org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages; +public class CloseTransactionReply extends VersionedExternalizableMessage { + private static final long serialVersionUID = 1L; -public class CloseTransactionReply implements SerializableMessage { - public static final Class SERIALIZABLE_CLASS = - ShardTransactionMessages.CloseTransactionReply.class; - - private static final Object SERIALIZED_INSTANCE = - ShardTransactionMessages.CloseTransactionReply.newBuilder().build(); - - public static final CloseTransactionReply INSTANCE = new CloseTransactionReply(); + public CloseTransactionReply() { + } @Override public Object toSerializable() { - return SERIALIZED_INSTANCE; + return this; } }