replace a single-use single-line private method with its body in the one place it was used

This commit is contained in:
Jesse Vincent 2010-11-13 01:46:36 +00:00
parent 0f4366aa77
commit f874f0f9d3

View file

@ -531,11 +531,6 @@ public class FolderList extends K9ListActivity
MessagingController.getInstance(getApplication()).expunge(account, folderName, null);
}
private void checkMail(final Account account)
{
MessagingController.getInstance(getApplication()).checkMail(this, account, true, true, mAdapter.mListener);
}
private void sendMail(Account account)
{
MessagingController.getInstance(getApplication()).sendPendingMessages(account, mAdapter.mListener);
@ -551,7 +546,7 @@ public class FolderList extends K9ListActivity
return true;
case R.id.check_mail:
checkMail(mAccount);
MessagingController.getInstance(getApplication()).checkMail(this, mAccount, true, true, mAdapter.mListener);
return true;