[jboss-svn-commits] JBL Code SVN: r37652 - labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server/impl.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Oct 21 08:30:13 EDT 2011
Author: tomjenkinson
Date: 2011-10-21 08:30:12 -0400 (Fri, 21 Oct 2011)
New Revision: 37652
Modified:
labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server/impl/ServerImpl.java
Log:
JBTM-895 don't get the transaction first it was superfluous
Modified: labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server/impl/ServerImpl.java
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server/impl/ServerImpl.java 2011-10-21 12:28:11 UTC (rev 37651)
+++ labs/jbosstm/branches/JBOSSTS_4_15_0_Final/atsintegration/examples/classes/com/arjuna/jta/distributed/example/server/impl/ServerImpl.java 2011-10-21 12:30:12 UTC (rev 37652)
@@ -254,7 +254,6 @@
ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
try {
Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());
- SubordinateTransaction tx = SubordinationManager.getTransactionImporter().getImportedTransaction(xid);
return SubordinationManager.getXATerminator().prepare(xid);
} finally {
Thread.currentThread().setContextClassLoader(contextClassLoader);
More information about the jboss-svn-commits
mailing list