aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-01-07 15:49:41 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-07 15:49:41 +0000
commit744a1990fb07830bd6364c9e6fbb9308086cb2d2 (patch)
treeeb09a649be5f78c9350eb237d542de9bc32089fb
parent071ba65325fc16e2648f789fa4dfbcace5b362fb (diff)
parentb264dee1ac60671ce6174bdd6d4e067219dc48b3 (diff)
Merge "Fixed sonar fix in DbConfigPool.java"
-rw-r--r--dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/config/DbConfigPool.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/config/DbConfigPool.java b/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/config/DbConfigPool.java
index fb94ea0e..6cb1d9c3 100644
--- a/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/config/DbConfigPool.java
+++ b/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/config/DbConfigPool.java
@@ -28,19 +28,18 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class DbConfigPool {
- private static Logger LOGGER = LoggerFactory.getLogger(DbConfigPool.class);
-
+ private static Logger log = LoggerFactory.getLogger(DbConfigPool.class);
private final String type;
-
+ private static final int timeOut=0;
private ArrayList<BaseDBConfiguration> configurations = new ArrayList<>();
public DbConfigPool(Properties properties) {
- LOGGER.debug("Initializing DbConfigType");
+ log.debug("Initializing DbConfigType");
type = properties.getProperty(BaseDBConfiguration.DATABASE_TYPE, "JDBC").toUpperCase();
}
public int getTimeout() {
- return 0;
+ return timeOut;
}
public String getType() {