Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "BUG 2676 : Use custom client-dispatcher when configured"
[controller.git]
/
opendaylight
/
md-sal
/
sal-netconf-connector
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
sal
/
connect
/
netconf
/
NotificationHandler.java
diff --git
a/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/NotificationHandler.java
b/opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/NotificationHandler.java
index d340e4c1adf1b28f90600c0f320004dbede0f79c..bc3326e1ae5b58dc23dc7c14927a83d5d34d1fcf 100644
(file)
--- a/
opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/NotificationHandler.java
+++ b/
opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/NotificationHandler.java
@@
-63,7
+63,7
@@
final class NotificationHandler {
private CompositeNode transformNotification(final NetconfMessage cachedNotification) {
final CompositeNode parsedNotification = messageTransformer.toNotification(cachedNotification);
private CompositeNode transformNotification(final NetconfMessage cachedNotification) {
final CompositeNode parsedNotification = messageTransformer.toNotification(cachedNotification);
- Preconditions.checkNotNull(parsedNotification, "
{}: Unable to parse received notification
%s", id, cachedNotification);
+ Preconditions.checkNotNull(parsedNotification, "
%s: Unable to parse received notification:
%s", id, cachedNotification);
return parsedNotification;
}
return parsedNotification;
}
@@
-91,6
+91,7
@@
final class NotificationHandler {
}
synchronized void onRemoteSchemaDown() {
}
synchronized void onRemoteSchemaDown() {
+ queue.clear();
passNotifications = false;
}
passNotifications = false;
}