Add missing check of present on optional variable 48/36448/2
authorClaudio D. Gasparini <cgaspari@cisco.com>
Fri, 18 Mar 2016 15:18:58 +0000 (16:18 +0100)
committerClaudio D. Gasparini <cgaspari@cisco.com>
Sat, 19 Mar 2016 18:00:45 +0000 (19:00 +0100)
commit42b7aa91918c6f9905f7dd0809ce812460d4b99f
treec379d74db3261f189cd5ebabbdced7f6d2327e85
parent02559d3d5f4be9e716a30580186740f4fded6c8e
Add missing check of present on optional variable

Check whether optional best path is present before proceed
to write the route

Change-Id: I531c73a6c3c4e8425e0620ac17e5aff90bd2981e
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseAbstractRouteEntry.java
bgp/path-selection-mode/src/main/java/org/opendaylight/protocol/bgp/mode/impl/base/BaseComplexRouteEntry.java