diff options
author | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | 2017-12-04 10:00:28 +0530 |
---|---|---|
committer | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | 2017-12-04 10:03:50 +0530 |
commit | 6fb1b5e49ec04b767e4294360f4b50e2224d4a7e (patch) | |
tree | 2ee5beea8e33ce57848f1fee3370c32a9db94130 /src/main/java/com | |
parent | eb17f3f73ab6b43a0531b679d805e9fc0a276ad5 (diff) |
sonar critical for InterruptedException
Either re-interrupt this method or rethrow the InterruptedException
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient#resolved=false|assignees=soumendu
Location:
src/main/java/com/att/nsa/mr/test/support/MRConsumerMock.java
Line No-72
Change-Id: I6c421e10d0d35310ef62975098fe8d7379826364
Issue-ID: DMAAP-172
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/test/support/MRConsumerMock.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/att/nsa/mr/test/support/MRConsumerMock.java b/src/main/java/com/att/nsa/mr/test/support/MRConsumerMock.java index 3373710..7d0e20c 100644 --- a/src/main/java/com/att/nsa/mr/test/support/MRConsumerMock.java +++ b/src/main/java/com/att/nsa/mr/test/support/MRConsumerMock.java @@ -71,6 +71,7 @@ public class MRConsumerMock implements MRConsumer } catch ( InterruptedException e ) { + Thread.currentThread().interrupt(); throw new IOException ( e ); } } |