From 256d715699489b0f89892128b44c1d6eb962acfb Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 18 Oct 2013 06:23:21 +0200 Subject: [PATCH] Sort bots with running transfers last. --- src/main/java/net/pterodactylus/xdcc/ui/stdin/Result.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.7.4