You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2006/03/14 05:17:55 UTC

svn commit: r385729 - /tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/XByteBuffer.java

Author: fhanik
Date: Mon Mar 13 20:17:54 2006
New Revision: 385729

URL: http://svn.apache.org/viewcvs?rev=385729&view=rev
Log:
More optimizations

Modified:
    tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/XByteBuffer.java

Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/XByteBuffer.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/XByteBuffer.java?rev=385729&r1=385728&r2=385729&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/XByteBuffer.java (original)
+++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/XByteBuffer.java Mon Mar 13 20:17:54 2006
@@ -346,7 +346,8 @@
             throw new ArrayIndexOutOfBoundsException("Unable to create data package, buffer is too small.");
         }
         System.arraycopy(START_DATA, 0, buffer, bufoff, START_DATA.length);
-        System.arraycopy(toBytes(data.length), 0, buffer, bufoff+START_DATA.length, 4);
+        //System.arraycopy(toBytes(data.length), 0, buffer, bufoff+START_DATA.length, 4);
+        toBytes(data.length,buffer, bufoff+START_DATA.length);
         System.arraycopy(data, doff, buffer, bufoff+START_DATA.length + 4, dlength);
         System.arraycopy(END_DATA, 0, buffer, bufoff+START_DATA.length + 4 + data.length, END_DATA.length);
         return buffer;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org