[jboss-cvs] JBoss Messaging SVN: r4870 - 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
Tue Aug 26 05:15:34 EDT 2008


Author: ataylor
Date: 2008-08-26 05:15:34 -0400 (Tue, 26 Aug 2008)
New Revision: 4870

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-08-26 09:05:26 UTC (rev 4869)
+++ branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/remoting/impl/EncoderImpl.java	2008-08-26 09:15:34 UTC (rev 4870)
@@ -485,19 +485,12 @@
 
    private void setNextFragment()
    {
-      try
-      {
          MessagingBuffer buffer = buffers.get(0).createNewBuffer(PacketImpl.INITIAL_BUFFER_SIZE + PacketImpl.BUFFER_HEADER_SIZE);
          buffer.putInt(-1);
          buffer.putInt(-1);
          buffer.putBoolean(false);
          buffers.add(buffer);
          setNextBuffer();
-      }
-      catch (Throwable e)
-      {
-         e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
-      }
    }
 
    private void setNextBuffer()




More information about the jboss-cvs-commits mailing list