Do not call writer.flush() in IOUtils.closeSilently(Writer)
This call is not required before close() and it will prevent closing of writer if write fails for some reason.
正在显示
请
注册
或者
登录
后发表评论
This call is not required before close() and it will prevent closing of writer if write fails for some reason.