From fef3765b8f3fb17a766e61b2622620def1aa3b60 Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 28 Nov 2024 02:21:15 +0100 Subject: [PATCH] Fixed that filename is always non-null --- .../net/codinux/invoicing/email/model/EmailAttachment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/model/EmailAttachment.kt b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/model/EmailAttachment.kt index e21169e..f292aac 100644 --- a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/model/EmailAttachment.kt +++ b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/email/model/EmailAttachment.kt @@ -4,8 +4,8 @@ import net.codinux.invoicing.model.Invoice import java.io.File class EmailAttachment( - val filename: String?, - val extension: String?, + val filename: String, + val extension: String, val size: Int?, val disposition: ContentDisposition, /**