This commit is contained in:
Looly
2021-09-08 12:09:31 +08:00
parent 9223811716
commit 5ae924b9c6
3 changed files with 2 additions and 8 deletions

View File

@@ -200,7 +200,7 @@ public class FileWriter extends FileWrapper{
try (PrintWriter writer = getPrintWriter(isAppend)){
for (T t : list) {
if (null != t) {
writer.print(t.toString());
writer.print(t);
printNewLine(writer, lineSeparator);
writer.flush();
}