Huh. I could've sworn I'd bemoaned in the past that I couldn't use

the fancy for loops in a case like this, but apparently it DOES work.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4754 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Dave Hoover
2007-07-11 21:58:40 +00:00
parent 26a2a6a052
commit e53200e627
@@ -336,9 +336,7 @@ public class SpeakProvider
msg.timestamp = System.currentTimeMillis(); msg.timestamp = System.currentTimeMillis();
} }
for (int ii = 0; ii < usernames.length; ii ++ ) { for (Name username : usernames) {
Name username = usernames[ii];
// add the message to this user's chat history // add the message to this user's chat history
ArrayList<ChatMessage> history = getHistoryList(username); ArrayList<ChatMessage> history = getHistoryList(username);
history.add(msg); history.add(msg);