mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-26 01:28:50 -05:00
Cleanup of the LocalFolder perf optimization from last night.
This commit is contained in:
parent
c6b5a626bd
commit
35ab566f43
@ -84,10 +84,9 @@ public abstract class Folder {
|
|||||||
public abstract Message[] getMessages(MessageRetrievalListener listener)
|
public abstract Message[] getMessages(MessageRetrievalListener listener)
|
||||||
throws MessagingException;
|
throws MessagingException;
|
||||||
|
|
||||||
|
public Message[] getMessages(MessageRetrievalListener listener, boolean includeDeleted) throws MessagingException {
|
||||||
public abstract Message[] getMessages(MessageRetrievalListener listener, boolean includeDeleted)
|
return getMessages(listener);
|
||||||
throws MessagingException;
|
}
|
||||||
|
|
||||||
|
|
||||||
public abstract Message[] getMessages(String[] uids, MessageRetrievalListener listener)
|
public abstract Message[] getMessages(String[] uids, MessageRetrievalListener listener)
|
||||||
throws MessagingException;
|
throws MessagingException;
|
||||||
|
@ -709,10 +709,6 @@ public class ImapStore extends Store {
|
|||||||
return messages.toArray(new Message[] {});
|
return messages.toArray(new Message[] {});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Message[] getMessages(MessageRetrievalListener listener, boolean includeDeleted) throws MessagingException {
|
|
||||||
return getMessages(listener);
|
|
||||||
}
|
|
||||||
|
|
||||||
public Message[] getMessages(MessageRetrievalListener listener) throws MessagingException {
|
public Message[] getMessages(MessageRetrievalListener listener) throws MessagingException {
|
||||||
return getMessages(null, listener);
|
return getMessages(null, listener);
|
||||||
|
@ -493,11 +493,6 @@ public class Pop3Store extends Store {
|
|||||||
mUidToMsgNumMap.put(message.getUid(), msgNum);
|
mUidToMsgNumMap.put(message.getUid(), msgNum);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Message[] getMessages(MessageRetrievalListener listener, boolean includeDeleted) throws MessagingException {
|
|
||||||
return getMessages(listener);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Message[] getMessages(MessageRetrievalListener listener) throws MessagingException {
|
public Message[] getMessages(MessageRetrievalListener listener) throws MessagingException {
|
||||||
throw new UnsupportedOperationException("Pop3: No getMessages");
|
throw new UnsupportedOperationException("Pop3: No getMessages");
|
||||||
|
@ -1248,10 +1248,6 @@ public class WebDavStore extends Store {
|
|||||||
return messages.toArray(new Message[] {});
|
return messages.toArray(new Message[] {});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Message[] getMessages(MessageRetrievalListener listener, boolean includeDeleted) throws MessagingException {
|
|
||||||
return getMessages(listener);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Message[] getMessages(MessageRetrievalListener listener) throws MessagingException {
|
public Message[] getMessages(MessageRetrievalListener listener) throws MessagingException {
|
||||||
|
Loading…
Reference in New Issue
Block a user