You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2023/03/08 13:15:41 UTC
[commons-dbcp] branch master updated: Fix comment typo
This is an automated email from the ASF dual-hosted git repository.
markt 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 77f2c06e Fix comment typo
77f2c06e is described below
commit 77f2c06e9949384a0899e87a4a2bcf9f8a7be785
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Mar 8 13:12:22 2023 +0000
Fix comment typo
---
src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java b/src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java
index 1f5ed748..a53d1794 100644
--- a/src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java
+++ b/src/main/java/org/apache/commons/dbcp2/DelegatingConnection.java
@@ -172,7 +172,7 @@ public class DelegatingConnection<C extends Connection> extends AbandonedTrace i
connectionIsClosed = false;
}
try {
- // DBCP-512: Avoid exceptions when closing a connection in mutli-threaded use case.
+ // DBCP-512: Avoid exceptions when closing a connection in multi-threaded use case.
// Avoid closing again, which should be a no-op, but some drivers like H2 throw an exception when
// closing from multiple threads.
if (!connectionIsClosed) {