diff options
author | varun gudisena <vg411h@att.com> | 2017-12-06 16:00:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-12-06 16:00:14 +0000 |
commit | 95340eae6922dc113b9fff79e534f8d7d80bd855 (patch) | |
tree | e876de2a12e2139e1aca0fac01ef3d04d0da953d | |
parent | f53b6782649185b0b447ce0d52baf3bb0fdf0d2b (diff) | |
parent | ccb9a4c17cffc43c5dedd7f9913d97e7de596e22 (diff) |
Merge "sonar critical for InterruptedException"
-rw-r--r-- | src/main/java/com/att/nsa/mr/test/clients/ConsolePublisher.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/att/nsa/mr/test/clients/ConsolePublisher.java b/src/main/java/com/att/nsa/mr/test/clients/ConsolePublisher.java index 61aa836..60971c1 100644 --- a/src/main/java/com/att/nsa/mr/test/clients/ConsolePublisher.java +++ b/src/main/java/com/att/nsa/mr/test/clients/ConsolePublisher.java @@ -84,6 +84,7 @@ public class ConsolePublisher catch ( InterruptedException e ) { logger.error( "Send on close interrupted." ); + Thread.currentThread().interrupt(); } for ( message m : leftovers ) { |