set BAOS size

This commit is contained in:
zzz
2014-03-12 12:35:29 +00:00
parent 5283fc923e
commit a39f667c2f

View File

@ -166,7 +166,7 @@ public class KeysAndCert extends DataStructureImpl {
return __calculatedHash; return __calculatedHash;
byte identBytes[]; byte identBytes[];
try { try {
ByteArrayOutputStream baos = new ByteArrayOutputStream(); ByteArrayOutputStream baos = new ByteArrayOutputStream(400);
writeBytes(baos); writeBytes(baos);
identBytes = baos.toByteArray(); identBytes = baos.toByteArray();
} catch (Throwable t) { } catch (Throwable t) {