Rename Backend.checkServerSettings() to checkIncomingServerSettings()
This commit is contained in:
parent
6e18375d19
commit
a63fcfd7fc
6 changed files with 7 additions and 7 deletions
|
@ -1845,8 +1845,8 @@ public class MessagingController {
|
|||
return getBackend(account).getSupportsSearchByDate();
|
||||
}
|
||||
|
||||
public void checkServerSettings(Account account) throws MessagingException {
|
||||
getBackend(account).checkServerSettings();
|
||||
public void checkIncomingServerSettings(Account account) throws MessagingException {
|
||||
getBackend(account).checkIncomingServerSettings();
|
||||
}
|
||||
|
||||
public void moveMessages(final Account srcAccount, final String srcFolder,
|
||||
|
|
|
@ -507,7 +507,7 @@ public class AccountSetupCheckSettings extends K9Activity implements OnClickList
|
|||
publishProgress(R.string.account_setup_check_settings_check_incoming_msg);
|
||||
}
|
||||
|
||||
messagingController.checkServerSettings(account);
|
||||
messagingController.checkIncomingServerSettings(account);
|
||||
|
||||
if (isWebDavAccount()) {
|
||||
publishProgress(R.string.account_setup_check_settings_fetch);
|
||||
|
|
|
@ -82,7 +82,7 @@ interface Backend {
|
|||
fun createPusher(receiver: PushReceiver): Pusher
|
||||
|
||||
@Throws(MessagingException::class)
|
||||
fun checkServerSettings()
|
||||
fun checkIncomingServerSettings()
|
||||
|
||||
@Throws(MessagingException::class)
|
||||
fun sendMessage(message: Message)
|
||||
|
|
|
@ -197,7 +197,7 @@ public class ImapBackend implements Backend {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void checkServerSettings() throws MessagingException {
|
||||
public void checkIncomingServerSettings() throws MessagingException {
|
||||
imapStore.checkSettings();
|
||||
}
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@ class Pop3Backend(
|
|||
throw UnsupportedOperationException("not supported")
|
||||
}
|
||||
|
||||
override fun checkServerSettings() {
|
||||
override fun checkIncomingServerSettings() {
|
||||
pop3Store.checkSettings()
|
||||
}
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ class WebDavBackend(
|
|||
throw UnsupportedOperationException("not supported")
|
||||
}
|
||||
|
||||
override fun checkServerSettings() {
|
||||
override fun checkIncomingServerSettings() {
|
||||
webDavStore.checkSettings()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue