BUG 8525: Prevent NPE in test-app listeners 27/57627/2
authorTomas Cere <tcere@cisco.com>
Mon, 22 May 2017 11:22:46 +0000 (13:22 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 22 May 2017 14:16:52 +0000 (14:16 +0000)
commit5997e14efab9c12e7be2b7fb83f7efe16c2bfe7c
tree60f84bc06dee9ec11d3cf311d4d975794a2e0cda
parentc4065f3a269be3d76f001c6ed198dda9a02be60e
BUG 8525: Prevent NPE in test-app listeners

Prevents the NPE thrown when the listeners didn't
receive any notifications.

Change-Id: I0d774913a15b4341abce779c64d6ee8f75d6a0e1
Signed-off-by: Tomas Cere <tcere@cisco.com>
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/MdsalLowLevelTestProvider.java
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/IdIntsDOMDataTreeLIstener.java
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/impl/IdIntsListener.java