mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-26 19:29:24 +00:00
Forcing flush in PrintWriter when generating text. PrintWriter does not autoflush output except at a newline. #106
This commit is contained in:
parent
1c6bc6238b
commit
d62eee955c
@ -61,6 +61,7 @@ public class TextFileFilter implements FileFilter {
|
||||
}
|
||||
offset++;
|
||||
}
|
||||
printWriter.flush();
|
||||
return byteArray.toByteArray();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user