Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,14 @@ private static OutputStream uncloseable(final OutputStream out)
{
return new FilterOutputStream(out)
{
// Default implementation of this method in FilterOutputStream converts single write operation to
// multiple write operations of 1 byte each, which is terribly inefficient.
@Override
public void write(byte b[], int off, int len) throws IOException
{
out.write(b, off, len);
}

@Override
public void close()
{
Expand Down