Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.1, 1.6.4, 1.7.2, 1.8.1
Description
Because not every stream's close method will flush, in order to ensure the stability of continuous integration, we need to manually call flush() before close().
I noticed that CsvOutputFormat (Java API) has done this. As follows.
//CsvOutputFormat public void close() throws IOException { if (wrt != null) { this.wrt.flush(); this.wrt.close(); } super.close(); }
Attachments
Issue Links
- links to