We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6105244 commit 480a4fdCopy full SHA for 480a4fd
src/com/xxdb/SimpleDBConnectionPool.java
@@ -100,11 +100,11 @@ protected class SimpleDBConnectionPoolImpl {
100
}
101
poolEntryArrayList.add(poolEntry);
102
103
+ poolEntries = new CopyOnWriteArrayList<>(poolEntryArrayList);
104
if (userId.isEmpty() || password.isEmpty())
105
log.warn("Create connection pool successfully without log in.");
106
else
107
log.info("Create connection pool successfully with log in.");
- poolEntries = new CopyOnWriteArrayList<>(poolEntryArrayList);
108
} catch (Exception e) {
109
log.error("Create connection pool failure, because " + e.getMessage());
110
throw new RuntimeException(e);
0 commit comments