Remove a blind cast 63/96963/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 20 Jul 2021 18:48:05 +0000 (20:48 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 20 Jul 2021 18:48:05 +0000 (20:48 +0200)
commit50811a3a8054b9961eb3333056ccc68addd696ea
tree9dd1ef4db7702dc5ba0831008a8b0378e7a5d757
parentc71ad1992627de8c09462e1e3e303093612556f8
Remove a blind cast

We have a null check here, let's use an instanceof check instead,
which is essentially the same thing, except more type-safe.

Change-Id: I2538e4e2f58513aa51bcefe26d4e55ad8ab59283
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
bgp/topology-provider/src/main/java/org/opendaylight/bgpcep/bgp/topology/provider/LinkstateGraphBuilder.java