commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r635116 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/ManagedConnection.java
Date Sun, 09 Mar 2008 00:02:32 GMT
Author: psteitz
Date: Sat Mar  8 16:02:27 2008
New Revision: 635116

URL: http://svn.apache.org/viewvc?rev=635116&view=rev
Log:
Fixed error in parameter name in afterCompletion method.
JIRA: DBCP-252

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/ManagedConnection.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/ManagedConnection.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/ManagedConnection.java?rev=635116&r1=635115&r2=635116&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/ManagedConnection.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/ManagedConnection.java
Sat Mar  8 16:02:27 2008
@@ -153,8 +153,8 @@
     }
 
     protected class CompletionListener implements TransactionContextListener {
-        public void afterCompletion(TransactionContext transactionContext, boolean commited)
{
-            if (transactionContext == transactionContext) {
+        public void afterCompletion(TransactionContext completedContext, boolean commited)
{
+            if (completedContext == transactionContext) {
                 transactionComplete();
             }
         }



Mime
View raw message