Revert "Prevent NPE"

This reverts commit 0bebbc1c0f.
pull/215/head
M66B 3 months ago
parent 478af42d1e
commit a5d5e57305

@ -3644,7 +3644,7 @@ public class IMAPFolder extends Folder implements UIDFolder, ResponseHandler {
long[] luid = UIDSet.toArray(uidset);
Message[] msgs = createMessagesForUIDs(luid);
for (Message m : msgs) {
if (m != null && m.getMessageNumber() > 0)
if (m.getMessageNumber() > 0)
messageCache.expungeMessage(m.getMessageNumber());
}
if (doExpungeNotification && hasMessageCountListener) {

Loading…
Cancel
Save