Use an instanceof pattern 60/103460/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 29 Nov 2022 09:50:48 +0000 (10:50 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 29 Nov 2022 09:50:48 +0000 (10:50 +0100)
commit034d4e72ffaffc2081a2a6df83ad2ed8a794e2e6
tree3a4233f2f809748985363a1433603d1478e45bdc
parentc4844cc4aa4ca7f89ba7b37e8f66dc1072cea402
Use an instanceof pattern

We can merge the check and cast here.

Change-Id: I95cb4d5574dab43e4f5f06c9c372fe294c131224
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActorRecoverySupport.java