Keep the order of the DCC receivers.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 11 Apr 2013 20:17:49 +0000 (22:17 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 11 Apr 2013 20:17:49 +0000 (22:17 +0200)
src/main/java/net/pterodactylus/xdcc/core/Core.java

index 7a35624..d5a9947 100644 (file)
@@ -106,7 +106,7 @@ public class Core extends AbstractIdleService {
        private final Map<String, Download> downloads = Maps.newHashMap();
 
        /** The current DCC receivers. */
-       private final Collection<DccReceiver> dccReceivers = Sets.newHashSet();
+       private final Collection<DccReceiver> dccReceivers = Lists.newArrayList();
 
        /**
         * Creates a new core.