From 1ec2c5b095cf88e80d79cfdfeb242f35f138ddcd Mon Sep 17 00:00:00 2001 From: Art O Cathain Date: Tue, 31 Mar 2015 20:29:51 +0100 Subject: [PATCH] Clarify --- .../main/java/com/fsck/k9/controller/MessagingController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/k9mail/src/main/java/com/fsck/k9/controller/MessagingController.java b/k9mail/src/main/java/com/fsck/k9/controller/MessagingController.java index 17629dec4..5cdfac0c9 100644 --- a/k9mail/src/main/java/com/fsck/k9/controller/MessagingController.java +++ b/k9mail/src/main/java/com/fsck/k9/controller/MessagingController.java @@ -5475,7 +5475,9 @@ public class MessagingController implements Runnable { while (memIt.hasNext()) { Entry memoryEntry = memIt.next(); - if (memoryEntry.getValue().account.getUuid().equals(account.getUuid())) { + String uuidForMemory = memoryEntry.getValue().account.getUuid(); + + if (uuidForMemory.equals(account.getUuid())) { memIt.remove(); } }