refactoring to use the object we extracted from the array
This commit is contained in:
parent
ea4978093e
commit
98ae8cf2be
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue