File tree Expand file tree Collapse file tree
src/java/org/apache/commons/io/output Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 * designed to behave exactly like the original. The only exception is the
4343 * deprecated toString(int) method that has been ignored.
4444 * @author <a href="mailto:jeremias@apache.org">Jeremias Maerki</a>
45- * @version $Id: ByteArrayOutputStream.java,v 1.7 2004/02/23 04:48:17 bayard Exp $
45+ * @version $Id: ByteArrayOutputStream.java,v 1.8 2004/04/24 19:24:09 jeremias Exp $
4646 */
4747public class ByteArrayOutputStream extends OutputStream {
4848
@@ -79,11 +79,6 @@ private byte[] getBuffer(int index) {
7979 return (byte [])buffers .get (index );
8080 }
8181
82- /* unused ATM
83- private int getCurrentCapacity() {
84- return filledBufferSum + currentBuffer.length;
85- }*/
86-
8782 private void needNewBuffer (int newcount ) {
8883 if (currentBufferIndex < buffers .size () - 1 ) {
8984 //Recycling old buffer
You can’t perform that action at this time.
0 commit comments