diff options
author | Dominic Lunanuova <dgl@research.att.com> | 2019-03-11 16:35:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-11 16:35:31 +0000 |
commit | b7e64f754d6b2a5211a46a10182c631c799f66b4 (patch) | |
tree | 12792b17296ff7c4031d2b07dee3fe81365e7725 /src/main/java | |
parent | 331fe606002eb042b2a06f1d3df93f5b2bacf8e8 (diff) | |
parent | 95321953d39e368a5e89344ca220ec7dd479afe1 (diff) |
Merge "Sonar Fix - ConnectionFactory.java"
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/onap/dmaap/dbcapi/database/ConnectionFactory.java | 2 |
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(); } } } |