From 76e1165fea9a62548dccdadf89f20fbca352bf3c Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 16 Jan 2011 21:33:39 +0000 Subject: [PATCH] we no longer need the special version of getDisplayClass --- src/com/fsck/k9/Account.java | 2 +- src/com/fsck/k9/mail/store/LocalStore.java | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/com/fsck/k9/Account.java b/src/com/fsck/k9/Account.java index beb9486fa..5877d6d67 100644 --- a/src/com/fsck/k9/Account.java +++ b/src/com/fsck/k9/Account.java @@ -651,7 +651,7 @@ public class Account implements BaseAccount { LocalFolder localFolder = (LocalFolder)folder; //folder.refresh(prefs); - Folder.FolderClass fMode = localFolder.getDisplayClass(prefs); + Folder.FolderClass fMode = localFolder.getDisplayClass(); // Always get stats about the INBOX (see issue 1817) if (folder.getName().equals(K9.INBOX) || ( diff --git a/src/com/fsck/k9/mail/store/LocalStore.java b/src/com/fsck/k9/mail/store/LocalStore.java index aa3aa3754..c07f237da 100644 --- a/src/com/fsck/k9/mail/store/LocalStore.java +++ b/src/com/fsck/k9/mail/store/LocalStore.java @@ -1656,11 +1656,6 @@ public class LocalStore extends Store implements Serializable updateFolderColumn( "integrate", mIntegrate ? 1 : 0 ); } - public FolderClass getDisplayClass(Preferences preferences) throws MessagingException - { - return mDisplayClass; - } - @Override public void fetch(final Message[] messages, final FetchProfile fp, final MessageRetrievalListener listener)