Fix infinite loop on cancel transaction
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / messages / DataChangedReply.java
index cffe985d18630beff2ba53b48b35f532cd100db3..c70f37ba34c499b943a46514a95807620666f3d8 100644 (file)
@@ -5,15 +5,11 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.controller.cluster.datastore.messages;
 
-import org.opendaylight.controller.protobuff.messages.datachange.notification.DataChangeListenerMessages;
+public final class DataChangedReply {
+    public static final DataChangedReply INSTANCE = new DataChangedReply();
 
-public class DataChangedReply implements SerializableMessage {
-  public static final Class SERIALIZABLE_CLASS = DataChangeListenerMessages.DataChangedReply.class;
-  @Override
-  public Object toSerializable() {
-    return DataChangeListenerMessages.DataChangedReply.newBuilder().build();
-  }
+    private DataChangedReply() {
+    }
 }