mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-19 13:48:58 +00:00
Small improvement
This commit is contained in:
parent
b67e359c6d
commit
08970346ea
1 changed files with 1 additions and 2 deletions
|
@ -64,7 +64,6 @@ import javax.mail.search.FlagTerm;
|
|||
import javax.mail.search.FromStringTerm;
|
||||
import javax.mail.search.OrTerm;
|
||||
import javax.mail.search.RecipientStringTerm;
|
||||
import javax.mail.search.SearchException;
|
||||
import javax.mail.search.SearchTerm;
|
||||
import javax.mail.search.SubjectTerm;
|
||||
|
||||
|
@ -433,7 +432,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|||
term = new AndTerm(term, new AndTerm(and.toArray(new SearchTerm[0])));
|
||||
|
||||
if (term == null)
|
||||
throw new SearchException();
|
||||
return new Message[0];
|
||||
|
||||
return state.ifolder.search(term);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue