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
The following commit(s) were added to refs/heads/master by this push: new 2130cbb8 Small clean up 2130cbb8 is described below commit 2130cbb8fd5bbae2c0a65b4104e3b0e4c5b1985a Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue May 31 10:12:11 2022 -0400 Small clean up --- .../java/org/apache/commons/vfs2/provider/DefaultFileContent.java | 4 ++-- 1 file changed, 2 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 b85d78ba..dfa09b94 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 @@ -817,7 +817,7 @@ public final class DefaultFileContent implements FileContent { @Override public long write(final FileContent fileContent) throws IOException { try (OutputStream output = fileContent.getOutputStream()) { - return this.write(output); + return write(output); } } @@ -858,7 +858,7 @@ public final class DefaultFileContent implements FileContent { */ @Override public long write(final OutputStream output, final int bufferSize) throws IOException { - final InputStream input = this.getInputStream(); + final InputStream input = getInputStream(); long count = 0; try { // This read/write code from Apache Commons IO