fixed sonar issues in DbConfigPool.java 53/74253/1
authorSandeep J <sandeejh@in.ibm.com>
Wed, 5 Dec 2018 11:04:19 +0000 (16:34 +0530)
committerSandeep J <sandeejh@in.ibm.com>
Wed, 5 Dec 2018 11:04:32 +0000 (16:34 +0530)
fixed sonar issue

Issue-ID: CCSDK-525
Change-Id: Ibf082dc71b49b8d657dfbb79ac0ef396eb3f4aa8
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/config/DbConfigPool.java

index 21fdab2..fb94ea0 100644 (file)
@@ -4,6 +4,8 @@
  * ================================================================================
  * Copyright (C) 2016 - 2017 ONAP
  * ================================================================================
+ * Modifications Copyright (C) 2018 IBM.
+ * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
@@ -30,7 +32,7 @@ public class DbConfigPool {
 
        private final String type;
 
-       private ArrayList<BaseDBConfiguration> configurations = new ArrayList<BaseDBConfiguration>();
+       private ArrayList<BaseDBConfiguration> configurations = new ArrayList<>();
 
        public DbConfigPool(Properties properties) {
                LOGGER.debug("Initializing DbConfigType");
@@ -38,7 +40,6 @@ public class DbConfigPool {
        }
 
        public int getTimeout() {
-               // TODO Auto-generated method stub
                return 0;
        }