1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Removed unused variables and imports.

This commit is contained in:
cketti 2011-01-18 23:37:37 +00:00
parent c25b4e0ee2
commit a40ec8fa98

View File

@ -11,12 +11,10 @@ import com.fsck.k9.crypto.Apg;
import com.fsck.k9.crypto.CryptoProvider; import com.fsck.k9.crypto.CryptoProvider;
import com.fsck.k9.helper.Utility; import com.fsck.k9.helper.Utility;
import com.fsck.k9.mail.Address; import com.fsck.k9.mail.Address;
import com.fsck.k9.mail.Folder;
import com.fsck.k9.mail.MessagingException; import com.fsck.k9.mail.MessagingException;
import com.fsck.k9.mail.Store; import com.fsck.k9.mail.Store;
import com.fsck.k9.mail.store.LocalStore; import com.fsck.k9.mail.store.LocalStore;
import com.fsck.k9.mail.store.StorageManager; import com.fsck.k9.mail.store.StorageManager;
import com.fsck.k9.mail.store.LocalStore.LocalFolder;
import com.fsck.k9.mail.store.StorageManager.StorageProvider; import com.fsck.k9.mail.store.StorageManager.StorageProvider;
import com.fsck.k9.view.ColorChip; import com.fsck.k9.view.ColorChip;
@ -635,14 +633,11 @@ public class Account implements BaseAccount
} }
long startTime = System.currentTimeMillis(); long startTime = System.currentTimeMillis();
AccountStats stats = new AccountStats(); AccountStats stats = new AccountStats();
int unreadMessageCount = 0;
int flaggedMessageCount = 0;
LocalStore localStore = getLocalStore(); LocalStore localStore = getLocalStore();
if (K9.measureAccounts()) if (K9.measureAccounts())
{ {
stats.size = localStore.getSize(); stats.size = localStore.getSize();
} }
Preferences prefs = Preferences.getPreferences(context);
localStore.getMessageCounts(stats); localStore.getMessageCounts(stats);
long endTime = System.currentTimeMillis(); long endTime = System.currentTimeMillis();
if (K9.DEBUG) if (K9.DEBUG)