diff options
author | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | 2018-02-06 10:27:56 +0530 |
---|---|---|
committer | Soumendu Sekhar Acharya <SA00498080@techmahindra.com> | 2018-02-07 05:28:06 +0000 |
commit | 2ec55ee705d6e7467e30beadabb62edb81a666c2 (patch) | |
tree | bd21306fb92f87f48a4e6021f4df8beec6c31dca | |
parent | 91973c04d5cbba775f0f4272cf385199ec794fa7 (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>
-rw-r--r-- | src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java | 1 |
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 { |