Skip to content
Permalink
Browse files
Small clean up
  • Loading branch information
garydgregory committed May 31, 2022
1 parent c53a272 commit 2130cbb8fd5bbae2c0a65b4104e3b0e4c5b1985a
Showing 1 changed file with 2 additions and 2 deletions.
@@ -817,7 +817,7 @@ void streamOpened() {
@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 long write(final OutputStream output) throws IOException {
*/
@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

0 comments on commit 2130cbb

Please sign in to comment.