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();
|
return getBackend(account).getSupportsSearchByDate();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void checkServerSettings(Account account) throws MessagingException {
|
public void checkIncomingServerSettings(Account account) throws MessagingException {
|
||||||
getBackend(account).checkServerSettings();
|
getBackend(account).checkIncomingServerSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void moveMessages(final Account srcAccount, final String srcFolder,
|
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);
|
publishProgress(R.string.account_setup_check_settings_check_incoming_msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
messagingController.checkServerSettings(account);
|
messagingController.checkIncomingServerSettings(account);
|
||||||
|
|
||||||
if (isWebDavAccount()) {
|
if (isWebDavAccount()) {
|
||||||
publishProgress(R.string.account_setup_check_settings_fetch);
|
publishProgress(R.string.account_setup_check_settings_fetch);
|
||||||
|
|
|
@ -82,7 +82,7 @@ interface Backend {
|
||||||
fun createPusher(receiver: PushReceiver): Pusher
|
fun createPusher(receiver: PushReceiver): Pusher
|
||||||
|
|
||||||
@Throws(MessagingException::class)
|
@Throws(MessagingException::class)
|
||||||
fun checkServerSettings()
|
fun checkIncomingServerSettings()
|
||||||
|
|
||||||
@Throws(MessagingException::class)
|
@Throws(MessagingException::class)
|
||||||
fun sendMessage(message: Message)
|
fun sendMessage(message: Message)
|
||||||
|
|
|
@ -197,7 +197,7 @@ public class ImapBackend implements Backend {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void checkServerSettings() throws MessagingException {
|
public void checkIncomingServerSettings() throws MessagingException {
|
||||||
imapStore.checkSettings();
|
imapStore.checkSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -113,7 +113,7 @@ class Pop3Backend(
|
||||||
throw UnsupportedOperationException("not supported")
|
throw UnsupportedOperationException("not supported")
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun checkServerSettings() {
|
override fun checkIncomingServerSettings() {
|
||||||
pop3Store.checkSettings()
|
pop3Store.checkSettings()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -118,7 +118,7 @@ class WebDavBackend(
|
||||||
throw UnsupportedOperationException("not supported")
|
throw UnsupportedOperationException("not supported")
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun checkServerSettings() {
|
override fun checkIncomingServerSettings() {
|
||||||
webDavStore.checkSettings()
|
webDavStore.checkSettings()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue