Extract ImapSearcher from ImapStore
This commit is contained in:
parent
caca473465
commit
a7f53f0c3b
3 changed files with 12 additions and 5 deletions
|
@ -34,7 +34,6 @@ import com.fsck.k9.mail.internet.MimeHeader;
|
|||
import com.fsck.k9.mail.internet.MimeMessageHelper;
|
||||
import com.fsck.k9.mail.internet.MimeMultipart;
|
||||
import com.fsck.k9.mail.internet.MimeUtility;
|
||||
import com.fsck.k9.mail.store.imap.ImapStore.ImapSearcher;
|
||||
|
||||
import static com.fsck.k9.mail.K9MailLib.LOG_TAG;
|
||||
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
package com.fsck.k9.mail.store.imap;
|
||||
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
import com.fsck.k9.mail.MessagingException;
|
||||
|
||||
|
||||
interface ImapSearcher {
|
||||
List<ImapResponse> search() throws IOException, MessagingException;
|
||||
}
|
|
@ -658,10 +658,6 @@ public class ImapStore extends RemoteStore {
|
|||
return new ImapPusher(this, receiver);
|
||||
}
|
||||
|
||||
protected interface ImapSearcher {
|
||||
List<ImapResponse> search() throws IOException, MessagingException;
|
||||
}
|
||||
|
||||
private class StoreImapSettings implements ImapSettings {
|
||||
@Override
|
||||
public String getHost() {
|
||||
|
|
Loading…
Reference in a new issue