Revert "Prevent NPE"

This reverts commit f3cba25195.
pull/215/head
M66B 3 months ago
parent 70cab79262
commit 22ae5ed509

@ -3638,7 +3638,6 @@ public class IMAPFolder extends Folder implements UIDFolder, ResponseHandler {
ir.readAtomStringList(); // Skip EARLIER
String uids = ir.readAtom();
UIDSet[] uidset = UIDSet.parseUIDSets(uids);
if (uidset != null) {
List<Message> msgs = new ArrayList<>();
for (long uid : UIDSet.toArray(uidset)) {
Message m = uidTable.get(uid);
@ -3651,7 +3650,6 @@ public class IMAPFolder extends Folder implements UIDFolder, ResponseHandler {
if (!msgs.isEmpty() &&
doExpungeNotification && hasMessageCountListener)
notifyMessageRemovedListeners(true, msgs.toArray(new Message[0]));
}
/*
String[] s = ir.readAtomStringList();
if (s == null) { // no (EARLIER)

Loading…
Cancel
Save