applied patch for AMQ-731 from Christopher G. Stach II - many thanks!

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412950 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-06-09 06:41:37 +00:00
parent 21e08377cb
commit 37e3387bed
1 changed files with 3 additions and 1 deletions

View File

@ -560,8 +560,10 @@ public class TransactionContext implements XAResource {
if( l==null ) {
l = new ArrayList(3);
endedXATransactionContexts.put(transactionId, l);
}
l.add(this);
} else if (!l.contains(this)) {
l.add(this);
}
}
// dis-associate