Skip to content

Commit e75b973

Browse files
committed
Inline
1 parent 9a98747 commit e75b973

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

src/main/java/org/apache/commons/io/output/ChunkedOutputStream.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,18 @@
3131
*/
3232
public 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
/**

0 commit comments

Comments
 (0)