Do not allow RaftActorBehavior.close() to throw Exception 90/36890/3
authorRobert Varga <rovarga@cisco.com>
Wed, 30 Mar 2016 14:50:55 +0000 (16:50 +0200)
committerRobert Varga <rovarga@cisco.com>
Thu, 31 Mar 2016 08:22:23 +0000 (10:22 +0200)
commit6f55265c68cbd7e231b48cfb1e6a2313d6680285
treedf50b03f1b265a19a288587d9a1e3ddcb754b791
parent26448d92f76ceb25424de4b33c6e251be3756812
Do not allow RaftActorBehavior.close() to throw Exception

No implementation uses the ability to throw here, disallow it in API contract.

Change-Id: I8560e60a7cab06f221ff7382f9c205d967efcfe5
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/Candidate.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/Follower.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/behaviors/RaftActorBehavior.java