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 2021/08/06 14:37:16 UTC

[commons-vfs] branch master updated (6c580b5 -> 757ec8d)

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git.


    from 6c580b5  [VFS-807] Pick up same change from Commons IO and add tests from VFS-807 from L. For me, on Windows 10 and Java 8, the tests pass with the change to LocalFile but L reports otherwise so this might be OS and Java version dependent.
     new 21013ec  [VFS-807] Update tests from from L's diff file.
     new 564953c  Javadoc.
     new 757ec8d  Bump commons.animal-sniffer.version from 1.19 to 1.20.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../java/org/apache/commons/vfs2/provider/local/LocalFile.java     | 2 +-
 .../java/org/apache/commons/vfs2/ProviderWriteAppendTests.java     | 2 +-
 pom.xml                                                            | 1 +
 src/changes/changes.xml                                            | 7 +++++--
 4 files changed, 8 insertions(+), 4 deletions(-)

[commons-vfs] 03/03: Bump commons.animal-sniffer.version from 1.19 to 1.20.

Posted by gg...@apache.org.
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 757ec8da9db76ffe4b14f7760666da3f691dd33f
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 6 10:37:12 2021 -0400

    Bump commons.animal-sniffer.version from 1.19 to 1.20.
---
 pom.xml                 | 1 +
 src/changes/changes.xml | 7 +++++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index dc9d4c5..f0a0055 100644
--- a/pom.xml
+++ b/pom.xml
@@ -202,6 +202,7 @@
     <commons.pmd.version>6.37.0</commons.pmd.version>
     <commons.javadoc.version>3.3.0</commons.javadoc.version>
     <commons.felix.version>5.1.2</commons.felix.version>
+    <commons.animal-sniffer.version>1.20</commons.animal-sniffer.version>
     <biz.aQute.bndlib.version>5.3.0</biz.aQute.bndlib.version>
     <slf4j.version>1.7.26</slf4j.version>
     <log4j2.version>2.14.1</log4j2.version>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 3fda558..afb493e 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -59,10 +59,13 @@ The <action> type attribute can be add,update,fix,remove.
       </action>
       <!-- UDPATE -->
       <action type="update" dev="ggregory" due-to="Dependabot">
-         Bump jakarta.mail from 1.6.7 to 2.0.1 #200.
+        Bump jakarta.mail from 1.6.7 to 2.0.1 #200.
       </action>
       <action type="update" dev="ggregory" due-to="Dependabot">
-         Bump commons.pmd.version from 6.36.0 to 6.37.0 #208.
+        Bump commons.pmd.version from 6.36.0 to 6.37.0 #208.
+      </action>
+      <action type="update" dev="ggregory" due-to="Gary Gregory">
+        Bump commons.animal-sniffer.version from 1.19 to 1.20.
       </action>
     </release>
     <release version="2.9.0" date="2021-06-16" description="Maintenance release. Requires Java 8.">

[commons-vfs] 01/03: [VFS-807] Update tests from from L's diff file.

Posted by gg...@apache.org.
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 21013ec42101aa6907431756e1763fb3d6f7ce56
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 6 10:36:07 2021 -0400

    [VFS-807] Update tests from from L's diff file.
---
 .../src/test/java/org/apache/commons/vfs2/ProviderWriteAppendTests.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteAppendTests.java b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteAppendTests.java
index a6c2d3e..e9150c8 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteAppendTests.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/ProviderWriteAppendTests.java
@@ -104,7 +104,7 @@ public class ProviderWriteAppendTests extends AbstractProviderTestCase {
             // Create the source file
             final String content1 = "Here is some sample content for the file. Blah Blah Blah.";
 
-            try (FileContent fileContent = file.getContent(); OutputStream os = fileContent.getOutputStream()) {
+            try (FileContent fileContent = file.getContent(); OutputStream os = fileContent.getOutputStream(true)) {
                 os.write(content1.getBytes(StandardCharsets.UTF_8));
             }
             assertSameContent(content1, file);

[commons-vfs] 02/03: Javadoc.

Posted by gg...@apache.org.
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 564953ce3a94adff53651135931a5c3e1cfbe2c6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 6 10:36:17 2021 -0400

    Javadoc.
---
 .../src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
index 2de35f7..5896eac 100644
--- a/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
+++ b/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFile.java
@@ -99,7 +99,7 @@ public class LocalFile extends AbstractFileObject<LocalFileSystem> {
     }
 
     /**
-     * Creates an input stream to read the content from.
+     * Creates an input stream to read the file contents.
      */
     @Override
     protected InputStream doGetInputStream(final int bufferSize) throws Exception {