aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2017-12-13 13:44:31 +0530
committerSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2017-12-13 13:44:31 +0530
commit92ff34414e70a7fb2936246ce4760095f46c8323 (patch)
tree7c2c00a63ff8bc6d3e2a6384be00fbd29ef93c8d /src/main/java/com
parent0497d0508a62ff513ff6883c2f6e1947da968d37 (diff)
sonar critical for InterruptedException
re-interrupted this method Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#severities=CRITICAL|assignees=soumendu|resolved=false Location: src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java Line No-167 Change-Id: Ic05056a67b3c446377277d27ad294e7fa9d68a02 Issue-ID: DMAAP-190 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java b/src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java
index 597e4da..79a70b8 100644
--- a/src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java
+++ b/src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java
@@ -167,6 +167,7 @@ public class MRBatchPublisher implements MRBatchingPublisher
catch ( InterruptedException e )
{
fLog.warn ( "Possible message loss. " + e.getMessage(), e );
+ Thread.currentThread().interrupt();
}
catch ( IOException e )
{