From 82c84075c71e285d1009bbe7e183ad2f0358d335 Mon Sep 17 00:00:00 2001 From: Parshad Patel Date: Tue, 27 Nov 2018 15:36:08 +0900 Subject: Fix critical sonar issues Fix rethrow the "InterruptedException" and Use "isAssignableFrom" sonar issues Issue-ID: SDC-1895 Change-Id: I2cadc08b9e7acdc84cf25a3ce9d22199711afa5d Signed-off-by: Parshad Patel --- common-be/src/main/java/org/openecomp/sdc/be/workers/Manager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'common-be/src/main/java') diff --git a/common-be/src/main/java/org/openecomp/sdc/be/workers/Manager.java b/common-be/src/main/java/org/openecomp/sdc/be/workers/Manager.java index 8f6445c21a..d0e5f4297d 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/workers/Manager.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/workers/Manager.java @@ -63,6 +63,7 @@ public class Manager { log.debug("all workers finished"); } catch (InterruptedException e) { log.error("failed while waiting for", e); + Thread.currentThread().interrupt(); } return outputQueue; } -- cgit 1.2.3-korg