Skip to content

Commit 04c4d96

Browse files
authored
Revert "Add flush after copy during downloads"
1 parent 16f1016 commit 04c4d96

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

bindings/jaxrs/src/main/java/org/commonjava/indy/core/bind/jaxrs/util/TransferStreamingOutput.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public void write( final OutputStream out )
6565
{
6666
CountingOutputStream cout = new CountingOutputStream( out );
6767
IOUtils.copy( stream, cout );
68-
cout.flush(); // ensure any remaining data is written to the output stream
6968

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

0 commit comments

Comments
 (0)