1
0
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:
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

@ -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;

View File

@ -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);

View File

@ -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");

View File

@ -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 {