diff options
author | Arindam Mondal <arind.mondal@samsung.com> | 2018-07-10 15:11:38 +0900 |
---|---|---|
committer | ONAP <arind.mondal@samsung.com> | 2018-07-10 15:39:58 +0900 |
commit | 16ecee44bc14dcb0a128cfdabf0ae8b17f1db057 (patch) | |
tree | 24c8d7336bdbcf6dc4212a95b633590df9585fd1 /dmaap-listener/src | |
parent | b13fc8a9b134c43a437d7a48ceb509295df4713a (diff) |
Sonar issue fix blocker, critical
Issue-ID: CCSDK-332
Change-Id: I8741cb5bf68d71f0376105d2b1683ac05534a001
Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
Diffstat (limited to 'dmaap-listener/src')
2 files changed, 2 insertions, 0 deletions
diff --git a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/MessageRouterHttpClient.java b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/MessageRouterHttpClient.java index 13146e4ec..c02ec5df3 100644 --- a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/MessageRouterHttpClient.java +++ b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/MessageRouterHttpClient.java @@ -97,6 +97,7 @@ public class MessageRouterHttpClient implements SdncDmaapConsumer { Thread.sleep(fetchPause); } catch (InterruptedException e) { Log.error("Could not sleep thread", e); + Thread.currentThread().interrupt(); } } } diff --git a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/MessageRouterHttpClientJdk.java b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/MessageRouterHttpClientJdk.java index 3336b81f6..a6744045d 100644 --- a/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/MessageRouterHttpClientJdk.java +++ b/dmaap-listener/src/main/java/org/onap/ccsdk/sli/northbound/dmaapclient/MessageRouterHttpClientJdk.java @@ -111,6 +111,7 @@ public class MessageRouterHttpClientJdk implements SdncDmaapConsumer { Thread.sleep(fetchPause); } catch (InterruptedException e) { Log.error("Could not sleep thread", e); + Thread.currentThread().interrupt(); } } } |