1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

replaced for with for-each loop

This commit is contained in:
András Veres-Szentkirályi 2014-02-15 22:32:00 +01:00
parent 8627a3e702
commit e75dd7df39

View File

@ -1476,11 +1476,10 @@ public class ImapStore extends Store {
checkOpen(); //only need READ access
List<String> uids = new ArrayList<String>(messages.length);
HashMap<String, Message> messageMap = new HashMap<String, Message>();
for (int i = 0, count = messages.length; i < count; i++) {
String uid = messages[i].getUid();
for (Message msg : messages) {
String uid = msg.getUid();
uids.add(uid);
messageMap.put(uid, messages[i]);
messageMap.put(uid, msg);
}
/*