1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 05:02:26 -05:00

Remove unused code

This commit is contained in:
cketti 2015-01-03 04:27:27 +01:00
parent b6315b15b0
commit ad8da49991
3 changed files with 1 additions and 5 deletions

View File

@ -9,7 +9,6 @@ import java.util.List;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
import android.os.Handler; import android.os.Handler;
import android.util.Log;
import android.view.Menu; import android.view.Menu;
import android.view.MenuItem; import android.view.MenuItem;
import android.view.View; import android.view.View;
@ -29,7 +28,7 @@ import com.fsck.k9.R;
import com.fsck.k9.controller.MessagingController; import com.fsck.k9.controller.MessagingController;
import com.fsck.k9.controller.MessagingListener; import com.fsck.k9.controller.MessagingListener;
import com.fsck.k9.mail.Folder; import com.fsck.k9.mail.Folder;
import com.fsck.k9.mail.MessagingException;
public class ChooseFolder extends K9ListActivity { public class ChooseFolder extends K9ListActivity {
public static final String EXTRA_ACCOUNT = "com.fsck.k9.ChooseFolder_account"; public static final String EXTRA_ACCOUNT = "com.fsck.k9.ChooseFolder_account";
@ -266,7 +265,6 @@ public class ChooseFolder extends K9ListActivity {
return; return;
} }
Account.FolderMode aMode = mMode; Account.FolderMode aMode = mMode;
Preferences prefs = Preferences.getPreferences(getApplication().getApplicationContext());
List<String> newFolders = new ArrayList<String>(); List<String> newFolders = new ArrayList<String>();
List<String> topFolders = new ArrayList<String>(); List<String> topFolders = new ArrayList<String>();

View File

@ -746,7 +746,6 @@ public class FolderList extends K9ListActivity {
List<FolderInfoHolder> topFolders = new LinkedList<FolderInfoHolder>(); List<FolderInfoHolder> topFolders = new LinkedList<FolderInfoHolder>();
Account.FolderMode aMode = account.getFolderDisplayMode(); Account.FolderMode aMode = account.getFolderDisplayMode();
Preferences prefs = Preferences.getPreferences(getApplication().getApplicationContext());
for (Folder folder : folders) { for (Folder folder : folders) {
Folder.FolderClass fMode = folder.getDisplayClass(); Folder.FolderClass fMode = folder.getDisplayClass();

View File

@ -5267,7 +5267,6 @@ public class MessagingController implements Runnable {
if (previousPusher != null) { if (previousPusher != null) {
previousPusher.stop(); previousPusher.stop();
} }
Preferences prefs = Preferences.getPreferences(context);
Account.FolderMode aDisplayMode = account.getFolderDisplayMode(); Account.FolderMode aDisplayMode = account.getFolderDisplayMode();
Account.FolderMode aPushMode = account.getFolderPushMode(); Account.FolderMode aPushMode = account.getFolderPushMode();