1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 00:58:50 -05:00

Cleanup of the LocalFolder perf optimization from last night.

This commit is contained in:
Jesse Vincent 2009-11-17 19:25:46 +00:00
parent c6b5a626bd
commit 35ab566f43
4 changed files with 4 additions and 18 deletions

View File

@ -82,12 +82,11 @@ public abstract class Folder {
* @param listener
*/
public abstract Message[] getMessages(MessageRetrievalListener listener)
throws MessagingException;
public abstract Message[] getMessages(MessageRetrievalListener listener, boolean includeDeleted)
throws MessagingException;
throws MessagingException;
public Message[] getMessages(MessageRetrievalListener listener, boolean includeDeleted) throws MessagingException {
return getMessages(listener);
}
public abstract Message[] getMessages(String[] uids, MessageRetrievalListener listener)
throws MessagingException;

View File

@ -709,10 +709,6 @@ public class ImapStore extends Store {
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 {
return getMessages(null, listener);

View File

@ -493,11 +493,6 @@ public class Pop3Store extends Store {
mUidToMsgNumMap.put(message.getUid(), msgNum);
}
@Override
public Message[] getMessages(MessageRetrievalListener listener, boolean includeDeleted) throws MessagingException {
return getMessages(listener);
}
@Override
public Message[] getMessages(MessageRetrievalListener listener) throws MessagingException {
throw new UnsupportedOperationException("Pop3: No getMessages");

View File

@ -1248,10 +1248,6 @@ public class WebDavStore extends Store {
return messages.toArray(new Message[] {});
}
@Override
public Message[] getMessages(MessageRetrievalListener listener, boolean includeDeleted) throws MessagingException {
return getMessages(listener);
}
@Override
public Message[] getMessages(MessageRetrievalListener listener) throws MessagingException {