aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2017-12-04 12:38:51 +0530
committerSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2017-12-04 12:39:47 +0530
commitccb9a4c17cffc43c5dedd7f9913d97e7de596e22 (patch)
tree46239cd6d2224c20700d95ddfba19fdec7835fea /src
parent769561b8cde2d22f7becaedfa9bf5190fb0b5b48 (diff)
sonar critical for InterruptedException
Either re-interrupt this method or rethrow the InterruptedException Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#assignees=soumendu|severities=CRITICAL Location: src/main/java/com/att/nsa/mr/test/clients/ConsolePublisher.java Line No-84 Change-Id: Idc03d7bdead85683faf09e10f0281e48a592da63 Issue-ID: DMAAP-174 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/att/nsa/mr/test/clients/ConsolePublisher.java1
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 )
{