diff options
author | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-04-10 10:57:37 +0530 |
---|---|---|
committer | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-04-10 10:57:37 +0530 |
commit | 5098110e253363d55ea444816a13dfa4e99d169b (patch) | |
tree | ad6c5595b25d8e6d22f9f4835c63853b46301b41 /src/main/java | |
parent | 5ad103804d5632ba28e13090bee91e7f15c02831 (diff) |
Sonar critical issues
Either re-interrupt this method or rethrow the InterruptedException
Sonar Link:
https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-VabL32hFUzlqc5nE&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java
Line No-268
Change-Id: I2fce3e65c0522fba0527be75db0f6075018606a5
Issue-ID: DMAAP-398
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java b/src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java index 178d143..84720f3 100644 --- a/src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java +++ b/src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java @@ -268,6 +268,7 @@ public class KafkaConsumerCache { } catch (InterruptedException e) { // Ignore log.error("error while setting curator framework :" + e.getMessage()); + Thread.currentThread().interrupt(); } } |