diff options
author | Dan Timoney <dtimoney@att.com> | 2019-01-07 15:49:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-07 15:49:41 +0000 |
commit | 744a1990fb07830bd6364c9e6fbb9308086cb2d2 (patch) | |
tree | eb09a649be5f78c9350eb237d542de9bc32089fb /dblib | |
parent | 071ba65325fc16e2648f789fa4dfbcace5b362fb (diff) | |
parent | b264dee1ac60671ce6174bdd6d4e067219dc48b3 (diff) |
Merge "Fixed sonar fix in DbConfigPool.java"
Diffstat (limited to 'dblib')
-rw-r--r-- | dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/config/DbConfigPool.java | 9 |
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() { |