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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Sep 1 05:28:29 EDT 2008


Author: ataylor
Date: 2008-09-01 05:28:29 -0400 (Mon, 01 Sep 2008)
New Revision: 4901

Modified:
   branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/remoting/impl/EncoderImpl.java
Log:
tidied up

Modified: branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/remoting/impl/EncoderImpl.java
===================================================================
--- branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/remoting/impl/EncoderImpl.java	2008-09-01 07:32:48 UTC (rev 4900)
+++ branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/remoting/impl/EncoderImpl.java	2008-09-01 09:28:29 UTC (rev 4901)
@@ -132,7 +132,7 @@
       if(getMaxBufferSize() + PacketImpl.BUFFER_HEADER_SIZE >= currentBuffer.position() + i1)
       {
          currentBuffer.putBytes(bytes, i, i1);
-         pos += (i1 - i);
+         pos += i1;
       }
       else
       {




More information about the jboss-cvs-commits mailing list