Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 016da71f authored by Wolf-Martell Montwé's avatar Wolf-Martell Montwé Committed by GitHub
Browse files

Merge pull request #9577 from NWuensche/main

Replace deprecated MessagingException
parents 8e9a3b2e fcd82448
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,8 +3,8 @@ package com.fsck.k9.backend.api
import com.fsck.k9.mail.BodyFactory
import com.fsck.k9.mail.Flag
import com.fsck.k9.mail.Message
import com.fsck.k9.mail.MessagingException
import com.fsck.k9.mail.Part
import net.thunderbird.core.common.exception.MessagingException

interface Backend {
    val supportsFlags: Boolean
+1 −1
Original line number Diff line number Diff line
package com.fsck.k9.backend.api

import com.fsck.k9.mail.FolderType
import com.fsck.k9.mail.MessagingException
import java.io.Closeable
import net.thunderbird.core.common.exception.MessagingException

interface BackendStorage {
    fun getFolder(folderServerId: String): BackendFolder
+1 −1
Original line number Diff line number Diff line
package com.fsck.k9.backend.imap

import com.fsck.k9.mail.MessagingException
import com.fsck.k9.mail.store.imap.ImapStore
import com.fsck.k9.mail.store.imap.OpenMode
import net.thunderbird.core.common.exception.MessagingException

internal class CommandDelete(private val imapStore: ImapStore) {

+1 −1
Original line number Diff line number Diff line
package com.fsck.k9.backend.imap

import com.fsck.k9.mail.MessagingException
import com.fsck.k9.mail.store.imap.ImapStore
import com.fsck.k9.mail.store.imap.OpenMode
import net.thunderbird.core.common.exception.MessagingException

internal class CommandDeleteAll(private val imapStore: ImapStore) {

+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@ package com.fsck.k9.backend.imap
import com.fsck.k9.backend.api.BackendPusher
import com.fsck.k9.backend.api.BackendPusherCallback
import com.fsck.k9.mail.AuthenticationFailedException
import com.fsck.k9.mail.MessagingException
import com.fsck.k9.mail.power.PowerManager
import com.fsck.k9.mail.store.imap.IdleRefreshManager
import com.fsck.k9.mail.store.imap.IdleRefreshTimeoutProvider
@@ -15,6 +14,7 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.cancel
import kotlinx.coroutines.launch
import net.thunderbird.core.common.exception.MessagingException
import net.thunderbird.core.logging.legacy.Log

private const val IO_ERROR_TIMEOUT = 5 * 60 * 1000L
Loading