From: David ‘Bombe’ Roden Date: Mon, 6 Jan 2014 16:03:57 +0000 (+0100) Subject: Flush writer. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=31cd8fd34af66234f02e9cc56b61e6c6aab3cb23;p=xudocci.git Flush writer. --- diff --git a/src/main/java/net/pterodactylus/xdcc/ui/stdin/FailedDownloadsCommand.java b/src/main/java/net/pterodactylus/xdcc/ui/stdin/FailedDownloadsCommand.java index 7a4869b..34e0716 100644 --- a/src/main/java/net/pterodactylus/xdcc/ui/stdin/FailedDownloadsCommand.java +++ b/src/main/java/net/pterodactylus/xdcc/ui/stdin/FailedDownloadsCommand.java @@ -59,6 +59,7 @@ public class FailedDownloadsCommand implements Command { downloadIndex++; } outputWriter.write("End of failed downloads.\n"); + outputWriter.flush(); return state.setLastFailedDownloads(new ArrayList<>(failedDownloads)); }