File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/io/output Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 */
3232public class ChunkedOutputStream extends FilterOutputStream {
3333
34- /**
35- * The default chunk size to use, i.e. {@value} bytes.
36- */
37- private static final int DEFAULT_CHUNK_SIZE = IOUtils .DEFAULT_BUFFER_SIZE ;
38-
3934 /**
4035 * The maximum chunk size to us when writing data arrays
4136 */
4237 private final int chunkSize ;
4338
4439 /**
45- * Creates a new stream that uses a chunk size of {@link #DEFAULT_CHUNK_SIZE }.
40+ * Creates a new stream that uses a chunk size of {@link IOUtils#DEFAULT_BUFFER_SIZE }.
4641 *
4742 * @param stream the stream to wrap
4843 */
4944 public ChunkedOutputStream (final OutputStream stream ) {
50- this (stream , DEFAULT_CHUNK_SIZE );
45+ this (stream , IOUtils . DEFAULT_BUFFER_SIZE );
5146 }
5247
5348 /**
You can’t perform that action at this time.
0 commit comments