Remove RV_RETURN_VALUE_IGNORED FB supression 59/49259/3
authorRobert Varga <rovarga@cisco.com>
Mon, 12 Dec 2016 17:36:31 +0000 (18:36 +0100)
committerRobert Varga <nite@hq.sk>
Thu, 15 Dec 2016 16:51:09 +0000 (16:51 +0000)
commitba99b089ca16480dd8b65b814f68e3fd26ab1246
tree72e72ce24576150ac5186cd154944643d589dbe4
parenta831d533864aa674f6ef8c11a50f1166957054a5
Remove RV_RETURN_VALUE_IGNORED FB supression

Turning poll() into remove() makes the warning go away.
We are also switching the cases where this is not reported
to maintain consistency and force a different error than
NPE on inconsistency (which should never happen anyway).

Change-Id: I6b7739a2e5bcd00b7745af87b9c5e180006400bd
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardDataTree.java