mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -05:00
refactoring to use the object we extracted from the array
This commit is contained in:
parent
ea4978093e
commit
98ae8cf2be
@ -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 New Issue
Block a user