increase default buffer size - to accomadate average message size - which is usually 1024

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@513626 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-03-02 06:24:31 +00:00
parent 4e2acd4a77
commit 2241f2064f
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public class ByteArrayOutputStream extends OutputStream {
int size;
public ByteArrayOutputStream() {
this(512);
this(1028);
}
public ByteArrayOutputStream(int capacity) {
buffer = new byte[capacity];