summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAS00465059 <AS00465059@techmahindra.com>2018-02-21 11:18:19 +0530
committerAS00465059 <AS00465059@techmahindra.com>2018-02-21 11:19:21 +0530
commitf21b74a2ed9dc6c822c0622a12b6f04a247bbce7 (patch)
treed9380e8db78f777e34a8b263ed0be8f6002430b2
parentabebcbec32768b48d6ad5513d82ea94a12d98f01 (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.java2
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