These methods throw only runtime exceptions, hence tighten the contract
and eliminate a sonar warning.
Change-Id: Ibb8b1f0053f38c5a68cf7e3caaf112c3b7beed09
Signed-off-by: Robert Varga <rovarga@cisco.com>
}
@Override
- public void close() throws Exception {
+ public void close() {
stopHeartBeat();
}
}
@Override
- public void close() throws Exception {
+ public void close() {
if(leadershipTransferContext != null) {
leadershipTransferContext.transferCohort.abortTransfer();
}