mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2026-03-10 19:18:50 +00:00
Forcing flush in PrintWriter when generating text. PrintWriter does not autoflush output except at a newline. #106
This commit is contained in:
@@ -61,6 +61,7 @@ public class TextFileFilter implements FileFilter {
|
||||
}
|
||||
offset++;
|
||||
}
|
||||
printWriter.flush();
|
||||
return byteArray.toByteArray();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user