[jboss-cvs] JBossAS SVN: r69738 - branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/pm.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Feb 8 15:52:35 EST 2008


Author: dbhole
Date: 2008-02-08 15:52:35 -0500 (Fri, 08 Feb 2008)
New Revision: 69738

Modified:
   branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/pm/TxManager.java
Log:

Reverting commit for JBPAPP-596, as it introduced 41 regressions:
http://dev45.qa.atl.jboss.com:8585/hudson/view/EAP-CI/job/eap-as-4.2.x-testsuite-JBPAPP_4_2_0_GA_CP/80/



Modified: branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/pm/TxManager.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/pm/TxManager.java	2008-02-08 17:34:07 UTC (rev 69737)
+++ branches/JBPAPP_4_2_0_GA_CP/messaging/src/main/org/jboss/mq/pm/TxManager.java	2008-02-08 20:52:35 UTC (rev 69738)
@@ -314,7 +314,7 @@
    public Xid[] recover(ConnectionToken dc, int flags) throws Exception
    {
       Set preparedXids = prepared.keySet();
-      Xid[] xids = (Xid[]) preparedXids.toArray();
+      Xid[] xids = (Xid[]) preparedXids.toArray(new Xid[preparedXids.size()]);
       return xids;
    }
    




More information about the jboss-cvs-commits mailing list