Skip to content

Commit

Permalink
optimize FileWriteOutBytes to avoid high sys cpu -- remove IOException
Browse files Browse the repository at this point in the history
  • Loading branch information
huanghui.bigrey committed Apr 18, 2020
1 parent c33551d commit 149e08c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void write(byte[] b, int off, int len) throws IOException
}

@Override
public long size() throws IOException
public long size()
{
return writeOutBytes;
}
Expand Down

0 comments on commit 149e08c

Please sign in to comment.