tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r385729 - /tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/io/XByteBuffer.java
Date Tue, 14 Mar 2006 04:17:55 GMT
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


Mime
View raw message