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

commit ce774df51452a27e8f88eb6deb16731fd95f602d
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Nov 21 19:56:38 2025 +0000

    Use final
---
 src/main/java/org/apache/commons/dbcp2/PoolableConnection.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java 
b/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java
index 00ebeef2..971fd5eb 100644
--- a/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java
+++ b/src/main/java/org/apache/commons/dbcp2/PoolableConnection.java
@@ -70,7 +70,7 @@ public class PoolableConnection extends 
DelegatingConnection<Connection> impleme
      * Indicate that unrecoverable SQLException was thrown when using this 
connection. Such a connection should be
      * considered broken and not pass validation in the future.
      */
-    private AtomicBoolean fatalSqlExceptionThrown = new AtomicBoolean();
+    private final AtomicBoolean fatalSqlExceptionThrown = new AtomicBoolean();
 
     /**
      * SQL State codes considered to signal fatal conditions. Overrides the 
defaults in

Reply via email to