summaryrefslogtreecommitdiffstats
path: root/src/main/java/com
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2018-02-06 10:27:56 +0530
committerSoumendu Sekhar Acharya <SA00498080@techmahindra.com>2018-02-07 05:28:06 +0000
commit2ec55ee705d6e7467e30beadabb62edb81a666c2 (patch)
treebd21306fb92f87f48a4e6021f4df8beec6c31dca /src/main/java/com
parent91973c04d5cbba775f0f4272cf385199ec794fa7 (diff)
sonar critical for Exception Handling
Re-interrupted this method  Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.mirroragent%3AdmaapMMAgent#resolved=false|severities=CRITICAL|assignees=Soumendu Location: src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java Line No-213 Change-Id: If77a40f4080745b7bdf8f0867085801e218c303b Issue-ID: DMAAP-231 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/dmaapMMAgent/MirrorMakerAgent.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
index 37236f3..5da4dba 100644
--- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
+++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
@@ -212,6 +212,7 @@ public class MirrorMakerAgent {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
+ Thread.currentThread().interrupt();
}
mirrorMakers.getListMirrorMaker().set(i, mm);
} else {