BUG-3419 : fix calling get() on Absent value 89/21389/3
authorDana Kutenicsova <dkutenic@cisco.com>
Fri, 29 May 2015 07:09:10 +0000 (09:09 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 3 Jun 2015 07:14:55 +0000 (07:14 +0000)
commit117ee238c19162335c50ef85114b05e87d50b538
tree0c93eac8785a5d847ab9381c6c5ec545949ec882
parent4826298d912e23372aa1cf64045d81ed65b6681f
BUG-3419 : fix calling get() on Absent value

When BGP shuts down, LocRIB receives and uptodate
change with no data attached causing an Exception.
Fix this by checking existence of the data.

Change-Id: Ibe1aeb8e7f02136be2c83be516e47833c1d8146a
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/ApplicationPeer.java
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/LocRibWriter.java