Rename Backend.checkServerSettings() to checkIncomingServerSettings()

This commit is contained in:
cketti 2018-07-11 19:45:18 +02:00
parent 6e18375d19
commit a63fcfd7fc
6 changed files with 7 additions and 7 deletions

View file

@ -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,

View file

@ -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);

View file

@ -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)

View file

@ -197,7 +197,7 @@ public class ImapBackend implements Backend {
}
@Override
public void checkServerSettings() throws MessagingException {
public void checkIncomingServerSettings() throws MessagingException {
imapStore.checkSettings();
}

View file

@ -113,7 +113,7 @@ class Pop3Backend(
throw UnsupportedOperationException("not supported")
}
override fun checkServerSettings() {
override fun checkIncomingServerSettings() {
pop3Store.checkSettings()
}

View file

@ -118,7 +118,7 @@ class WebDavBackend(
throw UnsupportedOperationException("not supported")
}
override fun checkServerSettings() {
override fun checkIncomingServerSettings() {
webDavStore.checkSettings()
}