[freenet-cvs] r12118 - trunk/freenet/src/freenet/support/io
nextgens at freenetproject.org
nextgens at freenetproject.org
Thu Mar 15 16:50:24 UTC 2007
Author: nextgens
Date: 2007-03-15 16:50:20 +0000 (Thu, 15 Mar 2007)
New Revision: 12118
Modified:
trunk/freenet/src/freenet/support/io/ArrayBucket.java
Log:
We want to call ByteArrayOutputStream.toByteArray() : it's clearer like that
Modified: trunk/freenet/src/freenet/support/io/ArrayBucket.java
===================================================================
--- trunk/freenet/src/freenet/support/io/ArrayBucket.java 2007-03-15 09:46:30 UTC (rev 12117)
+++ trunk/freenet/src/freenet/support/io/ArrayBucket.java 2007-03-15 16:50:20 UTC (rev 12118)
@@ -85,7 +85,7 @@
}
public void close() throws IOException {
- data.add(toByteArray());
+ data.add(super.toByteArray());
if(readOnly) throw new IOException("Read only");
// FIXME maybe we should throw on write instead? :)
}
More information about the cvs
mailing list