activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r412950 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java
Date Fri, 09 Jun 2006 06:41:38 GMT
Author: jstrachan
Date: Thu Jun  8 23:41:37 2006
New Revision: 412950

URL: http://svn.apache.org/viewvc?rev=412950&view=rev
Log:
applied patch for AMQ-731 from Christopher G. Stach II - many thanks!

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java?rev=412950&r1=412949&r2=412950&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/TransactionContext.java
Thu Jun  8 23:41:37 2006
@@ -560,8 +560,10 @@
                 if( l==null ) {
                     l = new ArrayList(3);
                     endedXATransactionContexts.put(transactionId, l);
-                }  
                 l.add(this);
+                } else if (!l.contains(this)) {
+                    l.add(this);
+                }
             }
 
             // dis-associate



Mime
View raw message