BUG 8525: Prevent NPE in test-app listeners 21/57621/3
authorTomas Cere <tcere@cisco.com>
Mon, 22 May 2017 11:22:46 +0000 (13:22 +0200)
committerRobert Varga <nite@hq.sk>
Sun, 28 May 2017 14:52:22 +0000 (14:52 +0000)
commit773f2f6b0e0ddfd19a21a0c126ccd3531ada7979
tree3daa387cea0e52581ae2be94f06c168467c4b27b
parentbf9e4dc047d4899f76cd95a1f1f4106f3c5bb4a3
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