aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDriptaroop Das <driptaroop.das@in.ibm.com>2019-02-22 00:54:32 +0530
committerDriptaroop Das <driptaroop.das@in.ibm.com>2019-02-22 00:54:58 +0530
commit95321953d39e368a5e89344ca220ec7dd479afe1 (patch)
tree78d3f0227c90c4fcf3fd961d781dd14755917629 /src
parentecd4be66f501c6cbbcd53b302f477bd0c8d17a6a (diff)
Sonar Fix - ConnectionFactory.java
Sonar Fix - ConnectionFactory.java Issue-ID: DMAAP-1056 Change-Id: I1701b0ab9b26513d7ead3bb25b3436105646f18c Signed-off-by: Driptaroop Das <driptaroop.das@in.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/onap/dmaap/dbcapi/database/ConnectionFactory.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/onap/dmaap/dbcapi/database/ConnectionFactory.java b/src/main/java/org/onap/dmaap/dbcapi/database/ConnectionFactory.java
index 0f14e60..e32b8e0 100644
--- a/src/main/java/org/onap/dmaap/dbcapi/database/ConnectionFactory.java
+++ b/src/main/java/org/onap/dmaap/dbcapi/database/ConnectionFactory.java
@@ -3,6 +3,7 @@
* org.onap.dmaap
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2019 IBM.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -108,6 +109,7 @@ public class ConnectionFactory {
TimeUnit.SECONDS.sleep(seconds);
} catch (InterruptedException e) {
logger.debug("Waiting interrupted. ", e);
+ Thread.currentThread().interrupt();
}
}
}