Add @SupressFBWarnings around Await.result() 52/85252/3
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 14 Sep 2019 06:27:19 +0000 (08:27 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 20 Oct 2019 09:07:22 +0000 (11:07 +0200)
commit3998f75cb4a7e4ec9f28a8944e380ddbf077dd59
treef02b9b6feeb20d363c36bdaf788e16c7efa50bdc
parentb04a1cc2d691429e5d1bd92c4f4465d36d13f2dd
Add @SupressFBWarnings around Await.result()

Await.result() is throwing Exceptions we need to catch, raising
the ire of SpotBugs. Suppress that.

Change-Id: I1a880c86a8ab1759c5741dd27c8341d89452c7e8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 32de58ddec79025c40342566a93fb8bf52077334)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/DistributedEntityOwnershipService.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/jmx/mbeans/shard/ShardDataTreeListenerInfoMXBeanImpl.java