Skip to content

Commit

Permalink
Add nosonar to ignore interruptexception bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwartz-Matthew-bah committed Dec 4, 2018
1 parent f6a0340 commit 45c6872
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void sendDataReceipt(byte[] encodedIsd) {
throw new IOException("Received invalid packet.");
}

} catch (IOException | InterruptedException | ExecutionException e) {
} catch (IOException | InterruptedException | ExecutionException e) { // NOSONAR
logger.error("Error sending ISD Acceptance message to SDC", e);
} catch (TimeoutException e) {
logger.error("Did not receive ISD data receipt within alotted "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public boolean establishTrust(TemporaryID requestId, SemiDialogID dialogId) {
logger.error("Did not receive Service Response within alotted "
+ +odeProperties.getServiceRespExpirationSeconds() + " seconds.", e);

} catch (InterruptedException | ExecutionException | UdpUtilException e) {
} catch (InterruptedException | ExecutionException | UdpUtilException e) { // NOSONAR
endTrustSession(requestId);
logger.error("Trust establishment interrupted.", e);
}
Expand Down

0 comments on commit 45c6872

Please sign in to comment.