jbosstm/narayana — pull request #587 by nbarrera (2014-01-31 18:42:38+00:00)
Title: Bugfixed toString() implementation on XID class.

As Tom Jenkinson suggested in https://community.jboss.org/message/855690#855690
I 'm asking for a pull request on the toString() method of the XID class

toString method was printing wrong the branch qualifier part of the XID, printing the same result for two different XID with the same baseXID (I mean if the only difference was the branch qualifier then the toString result would be the same).

The error was that the code was appending the sum of gtrid_length and
data[i] instead of appending data[i] with an offset of gtrid_length
*data[gtrid_length+i]*