1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-26 19:02:17 -05:00

Yaaic: cache field lookup

This commit is contained in:
Sebastian Kaspari 2010-03-21 16:36:16 +01:00
parent d62dcf86bd
commit b855bb8790

View File

@ -22,6 +22,7 @@ package org.yaaic;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Set;
import org.yaaic.model.Server;
@ -115,7 +116,8 @@ public class Yaaic
{
ArrayList<Server> serverList = new ArrayList<Server>();
for (int key : servers.keySet()) {
Set<Integer> mKeys = servers.keySet();
for (int key : mKeys) {
serverList.add(servers.get(key));
}