activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r513626 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/ByteArrayOutputStream.java
Date Fri, 02 Mar 2007 06:24:32 GMT
Author: rajdavies
Date: Thu Mar  1 22:24:31 2007
New Revision: 513626

URL: http://svn.apache.org/viewvc?view=rev&rev=513626
Log:
increase default buffer size - to accomadate average message size - which is usually 1024

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/ByteArrayOutputStream.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/ByteArrayOutputStream.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/ByteArrayOutputStream.java?view=diff&rev=513626&r1=513625&r2=513626
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/ByteArrayOutputStream.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/ByteArrayOutputStream.java
Thu Mar  1 22:24:31 2007
@@ -31,7 +31,7 @@
     int size;
 
     public ByteArrayOutputStream() {
-        this(512);
+        this(1028);
     }
     public ByteArrayOutputStream(int capacity) {
         buffer = new byte[capacity];



Mime
View raw message