summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/dcae/commonFunction/event/publishing
diff options
context:
space:
mode:
authorParshad Patel <pars.patel@samsung.com>2018-11-19 16:42:49 +0900
committerParshad Patel <pars.patel@samsung.com>2018-11-19 16:46:48 +0900
commit314f38cc8aa86d65a664b4f357e3fdea8eede96a (patch)
tree9a58de488efab6da3f7de971e2e1e07175472a92 /src/main/java/org/onap/dcae/commonFunction/event/publishing
parent174e08b4c4942eaa70cea889b4819334145216b9 (diff)
Fix critical issues in dcaegen2-collectors-ves
Fix issue related to InterruptedException and equals comparisons between unrelated types Issue-ID: DCAEGEN2-938 Change-Id: Iaef089dfd889053737fa53616064f1a6ef3a929e Signed-off-by: Parshad Patel <pars.patel@samsung.com>
Diffstat (limited to 'src/main/java/org/onap/dcae/commonFunction/event/publishing')
-rw-r--r--src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPPublishersCache.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPPublishersCache.java b/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPPublishersCache.java
index 4cdf92da..c66cee05 100644
--- a/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPPublishersCache.java
+++ b/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPPublishersCache.java
@@ -99,6 +99,7 @@ class DMaaPPublishersCache {
}
} catch (InterruptedException | IOException e) {
log.error("Could not close Cambria publisher, some messages might have been dropped", e);
+ Thread.currentThread().interrupt();
}
}
}