diff --git a/src/org/yaaic/Yaaic.java b/src/org/yaaic/Yaaic.java index 990d920..90f32a3 100644 --- a/src/org/yaaic/Yaaic.java +++ b/src/org/yaaic/Yaaic.java @@ -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 serverList = new ArrayList(); - for (int key : servers.keySet()) { + Set mKeys = servers.keySet(); + for (int key : mKeys) { serverList.add(servers.get(key)); }