diff options
author | AS00465059 <AS00465059@techmahindra.com> | 2018-02-21 11:18:19 +0530 |
---|---|---|
committer | AS00465059 <AS00465059@techmahindra.com> | 2018-02-21 11:19:21 +0530 |
commit | f21b74a2ed9dc6c822c0622a12b6f04a247bbce7 (patch) | |
tree | d9380e8db78f777e34a8b263ed0be8f6002430b2 | |
parent | abebcbec32768b48d6ad5513d82ea94a12d98f01 (diff) |
Sonar:Critical
Fixing MsoCommonUtils.java
MsoCommonUtils.java: L130 L145
Sonar Link: https://sonar.onap.org/issues/search#resolved=false|severities=MAJOR|rules=squid%3AS2293|assignees=__me__
Location:src/main/java/org/openecomp/mso/openstack/utils/MsoCommonUtils.java
Change-Id: I120d35a9c06f56dd82b50f248062fc38e60c0819
Issue-ID: SO-401
Signed-off-by: AS00465059 <AS00465059@techmahindra.com>
-rw-r--r-- | adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/MsoCommonUtils.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/MsoCommonUtils.java b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/MsoCommonUtils.java index 269f6b0cdf..7d6de317ad 100644 --- a/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/MsoCommonUtils.java +++ b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/openstack/utils/MsoCommonUtils.java @@ -129,6 +129,7 @@ public class MsoCommonUtils { Thread.sleep (retryDelay * 1000L); } catch (InterruptedException e1) { logger.debug ("Thread interrupted while sleeping", e1); + Thread.currentThread().interrupt(); } } else @@ -144,6 +145,7 @@ public class MsoCommonUtils { Thread.sleep (retryDelay * 1000L); } catch (InterruptedException e1) { logger.debug ("Thread interrupted while sleeping", e1); + Thread.currentThread().interrupt(); } } else |