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-4167: fall back to unknown module for empty YangInstanceIdentifier
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
DataChangeListenerRegistrationProxy.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataChangeListenerRegistrationProxy.java
b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataChangeListenerRegistrationProxy.java
index 6f8bc633c7401cee2750aa7e9ce83bcbb525a8f2..534beead0ed4d256c4626870fbee54582add8d9f 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataChangeListenerRegistrationProxy.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataChangeListenerRegistrationProxy.java
@@
-86,8
+86,7
@@
public class DataChangeListenerRegistrationProxy implements ListenerRegistration
}
if(sendCloseMessage) {
}
if(sendCloseMessage) {
- listenerRegistrationActor.tell(new
- CloseDataChangeListenerRegistration().toSerializable(), null);
+ listenerRegistrationActor.tell(CloseDataChangeListenerRegistration.INSTANCE, null);
}
}
}
}
@@
-146,8
+145,7
@@
public class DataChangeListenerRegistrationProxy implements ListenerRegistration
}
if(sendCloseMessage) {
}
if(sendCloseMessage) {
- listenerRegistrationActor.tell(new CloseDataChangeListenerRegistration().toSerializable(),
- ActorRef.noSender());
+ listenerRegistrationActor.tell(CloseDataChangeListenerRegistration.INSTANCE, ActorRef.noSender());
listenerRegistrationActor = null;
}
listenerRegistrationActor = null;
}