Use instanceof instead of .class.isInstance() 98/36298/2
authorRobert Varga <rovarga@cisco.com>
Wed, 16 Mar 2016 15:16:35 +0000 (16:16 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 21 Mar 2016 11:11:43 +0000 (11:11 +0000)
commit4f64d27f5434ed7bc82de2b6f6a57ba13ccaec4b
treee38747f11c61637f0e27ef47c700d1c68e685de4
parente9030ce6787604464a3685119649754fc68c80f9
Use instanceof instead of .class.isInstance()

These two are equivalent and using instanceof is more consistent with the rest
of the code.

Change-Id: I0493a94a09f66e19afb503afd05682692fba1b40
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-akka-raft/src/test/java/org/opendaylight/controller/cluster/raft/behaviors/FollowerTest.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/Shard.java