From: David ‘Bombe’ Roden Date: Fri, 18 Oct 2013 04:23:21 +0000 (+0200) Subject: Sort bots with running transfers last. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=256d715699489b0f89892128b44c1d6eb962acfb;p=xudocci.git Sort bots with running transfers last. --- diff --git a/src/main/java/net/pterodactylus/xdcc/ui/stdin/Result.java b/src/main/java/net/pterodactylus/xdcc/ui/stdin/Result.java index 8532a79..e8a52c1 100644 --- a/src/main/java/net/pterodactylus/xdcc/ui/stdin/Result.java +++ b/src/main/java/net/pterodactylus/xdcc/ui/stdin/Result.java @@ -197,9 +197,9 @@ public class Result implements Comparable { @Override public int compareTo(Result result) { return ComparisonChain.start() + .compare(this, result, botsWithRunningTransfersComparator) .compare(this, result, packArchiveComparator) .compare(this, result, botNameComparator) - .compare(this, result, botsWithRunningTransfersComparator) .compare(this, result, packNameComparator).result(); }