You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/05/24 17:06:37 UTC
[commons-io] branch master updated: Access DEFAULT_SIZE directly.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new dc5fa1c Access DEFAULT_SIZE directly.
dc5fa1c is described below
commit dc5fa1cc96f8a309b3371f9a743ac1bbe3cfa416
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun May 24 13:06:32 2020 -0400
Access DEFAULT_SIZE directly.
---
.../java/org/apache/commons/io/output/DeferredFileOutputStream.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java b/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java
index 4165205..51e3116 100644
--- a/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/DeferredFileOutputStream.java
@@ -97,7 +97,7 @@ public class DeferredFileOutputStream
*/
public DeferredFileOutputStream(final int threshold, final File outputFile)
{
- this(threshold, outputFile, null, null, null, ByteArrayOutputStream.DEFAULT_SIZE);
+ this(threshold, outputFile, null, null, null, AbstractByteArrayOutputStream.DEFAULT_SIZE);
}
/**
@@ -132,7 +132,7 @@ public class DeferredFileOutputStream
*/
public DeferredFileOutputStream(final int threshold, final String prefix, final String suffix, final File directory)
{
- this(threshold, null, prefix, suffix, directory, ByteArrayOutputStream.DEFAULT_SIZE);
+ this(threshold, null, prefix, suffix, directory, AbstractByteArrayOutputStream.DEFAULT_SIZE);
if (prefix == null) {
throw new IllegalArgumentException("Temporary file prefix is missing");
}