mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 00:58:50 -05:00
replace a single-use single-line private method with its body in the one place it was used
This commit is contained in:
parent
0f4366aa77
commit
f874f0f9d3
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user