1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 08:52:18 -05:00

Server: Use a LinkedHashMap to archive a predictable order

This commit is contained in:
Sebastian Kaspari 2010-03-13 15:51:39 +01:00
parent 825cf278be
commit 5b54d66f70

View File

@ -21,7 +21,7 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
package org.yaaic.model;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedHashMap;
import org.yaaic.R;
@ -38,7 +38,7 @@ public class Server
private int port;
private Identity identity;
private HashMap<String, Conversation> conversations = new HashMap<String, Conversation>();
private LinkedHashMap<String, Conversation> conversations = new LinkedHashMap<String, Conversation>();
private int status = Status.DISCONNECTED;
private String selected = "";