refactor: mail to kotlin - part 1#11013
Merged
wmontwe merged 13 commits intoMay 21, 2026
Merged
Conversation
(cherry picked from commit b499482a72356e81c39a2dd4e5733a8b09c45537)
(cherry picked from commit 8bab7e20126434e84e127eee4e8a9c2c8bca4448)
(cherry picked from commit dd0d9b5caa40cadd05bfb656507d6e6071b5d160)
(cherry picked from commit a4ccfc3cad7a29fb7fab5545ade535f7f8dbe9df)
(cherry picked from commit 0fe7c55c7a21e9a1ee22ecfe1c69912d444e32dd)
(cherry picked from commit 18c259683546349f8abf65aa1bb469fb9e32a5f8)
(cherry picked from commit 64617ad866cccdb61715c11666261b46b79c13d2)
(cherry picked from commit cf8d03f0c0074b7e27420f48b94475c69d25ecdb) # Conflicts: # mail/protocols/imap/src/main/java/com/fsck/k9/mail/store/imap/ImapUtility.kt
Contributor
|
✅ Validation Passed: All report and feature-flag labels are correctly set. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This migrates several IMAP protocol utility and handler classes from Java to Kotlin. It also modernizes some internal APIs and simplifies imap utility usage.
ImapCommandSplitter,ImapUtility,ImapResponseCallback, andUntaggedHandlerfrom Java to Kotlin.ImapUtility.joinandImapUtility.getLastResponse) to use Kotlin collection functions (joinToString,last).