Skip to content

Commit

Permalink
Revert "Add flush after copy during downloads"
Browse files Browse the repository at this point in the history
  • Loading branch information
sswguo authored Dec 2, 2024
1 parent 16f1016 commit 04c4d96
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ public void write( final OutputStream out )
{
CountingOutputStream cout = new CountingOutputStream( out );
IOUtils.copy( stream, cout );
cout.flush(); // ensure any remaining data is written to the output stream

Logger logger = LoggerFactory.getLogger( getClass() );
logger.trace( "Wrote: {} bytes", cout.getByteCount() );
Expand Down

0 comments on commit 04c4d96

Please sign in to comment.