Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
BUG 2412 - restconf @GET getModule(identifier,uri) method migration
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
messages
/
DeleteDataReply.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/DeleteDataReply.java
b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/DeleteDataReply.java
index eba9c39170b4eef45509eb0de9f488172c5f8bfb..0c6ff0e68d69d05e56871d3e197795387310232d 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/DeleteDataReply.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/messages/DeleteDataReply.java
@@
-10,16
+10,14
@@
package org.opendaylight.controller.cluster.datastore.messages;
import org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages;
import org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages;
-public class DeleteDataReply implements SerializableMessage{
- public static final Class<ShardTransactionMessages.DeleteDataReply> SERIALIZABLE_CLASS =
- ShardTransactionMessages.DeleteDataReply.class;
+public class DeleteDataReply extends EmptyReply {
- private static final Object SERIALIZED_INSTANCE = ShardTransactionMessages.DeleteDataReply.newBuilder().build();
+ private static final Object LEGACY_SERIALIZED_INSTANCE =
+ ShardTransactionMessages.DeleteDataReply.newBuilder().build();
public static final DeleteDataReply INSTANCE = new DeleteDataReply();
public static final DeleteDataReply INSTANCE = new DeleteDataReply();
- @Override
- public Object toSerializable() {
- return SERIALIZED_INSTANCE;
+ public DeleteDataReply() {
+ super(LEGACY_SERIALIZED_INSTANCE);
}
}
}
}