File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
core/android/account/src/main/kotlin/net/thunderbird/core/android/account Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11package net.thunderbird.core.android.account
22
3+ import androidx.annotation.Discouraged
34import com.fsck.k9.mail.Address
45import com.fsck.k9.mail.ServerSettings
56import java.util.Calendar
@@ -21,7 +22,10 @@ const val DEFAULT_VISIBLE_LIMIT = 25
2122/* *
2223 * Account stores all of the settings for a single account defined by the user. Each account is defined by a UUID.
2324 */
24- @Deprecated(message = " Use LegacyAccount instead, this class is only for compatibility with existing code." )
25+ @Discouraged(
26+ message = " Use net.thunderbird.core.android.account.LegacyAccount instead, " +
27+ " this class is only for compatibility with existing code." ,
28+ )
2529@Suppress(" TooManyFunctions" )
2630open class LegacyAccountDto (
2731 override val uuid : String ,
Original file line number Diff line number Diff line change 11package net.thunderbird.core.android.account
22
3+ import androidx.annotation.Discouraged
34import kotlinx.coroutines.flow.Flow
45import net.thunderbird.feature.mail.account.api.AccountManager
56
6- @Deprecated(
7- message = " Use net.thunderbird.core.android.account.LegacyAccountManager instead" ,
8- replaceWith = ReplaceWith (
9- expression = " LegacyAccountManager" ,
10- " net.thunderbird.core.android.account.LegacyAccountManager" ,
11- ),
7+ @Discouraged(
8+ message = " Use net.thunderbird.core.android.account.LegacyAccountManager instead." ,
129)
1310interface LegacyAccountDtoManager : AccountManager <LegacyAccountDto > {
1411 override fun getAccounts (): List <LegacyAccountDto >
You can’t perform that action at this time.
0 commit comments