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-vfs.git

commit 161dd1f6820d9d635a03069ae9dc7bb61b537983
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Mar 1 10:34:14 2025 -0500

    The write buffer size in DefaultFileContent is now 8K instead of 4K
---
 .../main/java/org/apache/commons/vfs2/provider/DefaultFileContent.java | 2 +-
 src/changes/changes.xml                                                | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/DefaultFileContent.java
 
b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/DefaultFileContent.java
index 7c0c24c18..cb102f4f4 100644
--- 
a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/DefaultFileContent.java
+++ 
b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/DefaultFileContent.java
@@ -217,7 +217,7 @@ public final class DefaultFileContent implements 
FileContent {
     /**
      * The default buffer size for {@link #write(OutputStream)}.
      */
-    private static final int WRITE_BUFFER_SIZE = 4096;
+    private static final int WRITE_BUFFER_SIZE = IOUtils.DEFAULT_BUFFER_SIZE;
     private final AbstractFileObject<?> fileObject;
 
     private Map<String, Object> attrs;
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 1c2a3d3a2..2ad6e6b88 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -47,7 +47,8 @@ The <action> type attribute can be add,update,fix,remove.
   <body>
     <release version="2.11.0" date="YYYY-MM-DD" description="This is a feature 
and maintenance release. Java 8 or later is required.">
       <!-- FIX -->
-      <action dev="ggregory" type="update" due-to="Gary Gregory">Rework 
FTPClientWrapper.disconnect() to remove any chance of a new connection being 
created on demand.</action>
+      <action dev="ggregory" type="fix" due-to="Gary Gregory">Rework 
FTPClientWrapper.disconnect() to remove any chance of a new connection being 
created on demand.</action>
+      <action dev="ggregory" type="update" due-to="Gary Gregory">The write 
buffer size in DefaultFileContent is now 8K instead of 4K.</action>
       <!-- ADD -->
       <action dev="ggregory" type="update" due-to="Gary Gregory">Add 
org.apache.commons.vfs2.provider.ftp.FTPClientWrapper.sendOptions(String, 
String).</action>
       <action dev="ggregory" type="update" due-to="Gary Gregory">Add 
FtpFileSystemConfigBuilder.getControlEncodingCharset(FileSystemOptions) and 
deprecate getControlEncoding(FileSystemOptions).</action>

Reply via email to