Finalize 2.0 version

This commit is contained in:
topjohnwu
2016-08-25 18:08:07 +08:00
parent 3e97d29bcf
commit dc06a132bc
11 changed files with 232 additions and 248 deletions
@@ -36,7 +36,8 @@ public class StreamGobbler extends Thread {
try {
String line;
while ((line = reader.readLine()) != null) {
writer.add(line);
if (!line.replaceAll("\\s", "").isEmpty())
writer.add(line);
}
} catch (IOException e) {
// reader probably closed, expected exit condition