Reuse AbstractListenerRegistration 34/76734/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 8 Oct 2018 09:32:51 +0000 (11:32 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 8 Oct 2018 09:32:51 +0000 (11:32 +0200)
commit23887ff5bac8a64eaf362ba01fc2afe730257c69
tree3d8e9ea89f145036e923c02179da185b069244eb
parentc1868b25648677e5834bc6823a7a4aa8ce1dd2c8
Reuse AbstractListenerRegistration

Instead of brewing our own, non-idempotent implementation of
ListenerRegistration use AbstractListenerRegistration which takes
care of being idempotent and holding the listener instance.

Change-Id: I1525f5011c455a0f170d492f164cdeb3b7290b9b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/sal/NetconfDeviceNotificationService.java