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);
}
}
}