From 24b018a8126a3350bb4b514a208109d10d15dba7 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sat, 13 Nov 2010 01:46:41 +0000 Subject: [PATCH] replace a trivial one-line method that was called twice with its body --- src/com/fsck/k9/activity/MessageList.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/com/fsck/k9/activity/MessageList.java b/src/com/fsck/k9/activity/MessageList.java index 78070d435..3d09dd5b3 100644 --- a/src/com/fsck/k9/activity/MessageList.java +++ b/src/com/fsck/k9/activity/MessageList.java @@ -1532,11 +1532,6 @@ public class MessageList private void checkMail(Account account, String folderName) { mController.synchronizeMailbox(account, folderName, mAdapter.mListener, null); - sendMail(account); - } - - private void sendMail(Account account) - { mController.sendPendingMessages(account, mAdapter.mListener); } @@ -1650,7 +1645,7 @@ public class MessageList } case R.id.send_messages: { - sendMail(mAccount); + mController.sendPendingMessages(mAccount, mAdapter.mListener); return true; } case R.id.list_folders: