1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

refactoring to use the object we extracted from the array

This commit is contained in:
Jesse Vincent 2011-07-09 18:44:14 -04:00
parent ea4978093e
commit 98ae8cf2be

View File

@ -1587,13 +1587,13 @@ public class WebDavStore extends Store {
WebDavMessage wdMessage = (WebDavMessage) messages[i];
if (listener != null) {
listener.messageStarted(messages[i].getUid(), i, count);
listener.messageStarted(wdMessage.getUid(), i, count);
}
wdMessage.setFlagInternal(Flag.SEEN, uidToReadStatus.get(wdMessage.getUid()));
if (listener != null) {
listener.messageFinished(messages[i], i, count);
listener.messageFinished(wdMessage, i, count);
}
}
}