This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbcp.git


The following commit(s) were added to refs/heads/master by this push:
     new e410b18  No need to init to default value.
e410b18 is described below

commit e410b187f65a6d56c067dfd2db462421bb67a305
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Jun 26 17:03:46 2021 -0400

    No need to init to default value.
---
 src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java 
b/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
index f820037..0e5ffe8 100644
--- a/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
+++ b/src/main/java/org/apache/commons/dbcp2/PoolableConnectionFactory.java
@@ -91,7 +91,7 @@ public class PoolableConnectionFactory implements 
PooledObjectFactory<PoolableCo
 
     private long maxConnLifetimeMillis = -1;
 
-    private final AtomicLong connectionIndex = new AtomicLong(0);
+    private final AtomicLong connectionIndex = new AtomicLong();
 
     private Integer defaultQueryTimeoutSeconds;
 

Reply via email to