[jboss-cvs] JBoss Messaging SVN: r4824 - branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/message/impl.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Aug 18 09:04:21 EDT 2008


Author: ataylor
Date: 2008-08-18 09:04:21 -0400 (Mon, 18 Aug 2008)
New Revision: 4824

Modified:
   branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/message/impl/MessageImpl.java
Log:
more tidying up

Modified: branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/message/impl/MessageImpl.java
===================================================================
--- branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/message/impl/MessageImpl.java	2008-08-18 13:02:19 UTC (rev 4823)
+++ branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/message/impl/MessageImpl.java	2008-08-18 13:04:21 UTC (rev 4824)
@@ -141,7 +141,7 @@
       getProperties().encode(buff);
       if(buffers.size() == 1 && buffers.get(0).limit() <= buff.remaining())
       {
-         int offSet = isBodySplit?9:0;
+         int offSet = isBodySplit? PacketImpl.BUFFER_HEADER_SIZE:0;
          buff.putInt(getBodySize());
          //are we splitting the buffers.
          buff.putBoolean(false);




More information about the jboss-cvs-commits mailing list