Skip to content

Commit

Permalink
Apply Spotless suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
adamszewe committed Oct 21, 2023
1 parent fe51971 commit deb737f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/core/src/main/java/com/fsck/k9/helper/MailTo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ import com.fsck.k9.mail.internet.MessageIdParser.Companion.parseList
import com.fsck.k9.mail.internet.MimeHeaderParserException

class MailTo private constructor(
val to: Array<Address?>, val cc: Array<Address?>, val bcc: Array<Address?>, val inReplyTo: String?,
@JvmField val subject: String?, @JvmField val body: String?
val to: Array<Address?>,
val cc: Array<Address?>,
val bcc: Array<Address?>,
val inReplyTo: String?,
@JvmField val subject: String?,
@JvmField val body: String?,
) {

internal class CaseInsensitiveParamWrapper(private val uri: Uri) {
Expand All @@ -29,6 +33,7 @@ class MailTo private constructor(
private const val BCC = "bcc"
private const val SUBJECT = "subject"
private val EMPTY_ADDRESS_LIST = arrayOfNulls<Address>(0)

@JvmStatic
fun isMailTo(uri: Uri?): Boolean {
return uri != null && MAILTO_SCHEME == uri.scheme
Expand Down

0 comments on commit deb737f

Please sign in to comment.