Fixing checkstyle changes in BgpManager. 19/51619/2
authorKency Kurian <kency.kurian@ericsson.com>
Thu, 9 Feb 2017 12:02:00 +0000 (17:32 +0530)
committerStephen Kitt <skitt@redhat.com>
Fri, 10 Feb 2017 09:43:56 +0000 (09:43 +0000)
commit98fd6c10ad73285db9f104e666ad874602b96ab7
treef1e31cd3667163034b9caf5d7f52d737221673c7
parent80c04669c566675a329da8ee880685c08ee99626
Fixing checkstyle changes in BgpManager.

After the checkstyle fixes, if stale path is not passed NPE is thrown.
Fixed that by adding a variable which defaults to 0 if stale path is not
provided.

Change-Id: Ia84ec51913dcb2465b9fa408b1a37be08ea33b3c
Signed-off-by: Kency Kurian <kency.kurian@ericsson.com>
vpnservice/bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/netvirt/bgpmanager/commands/Router.java