This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit f48661d50c8412c701abbc418bb2323965d71b4d Author: Benoit TELLIER <btell...@linagora.com> AuthorDate: Wed Jan 15 23:20:55 2025 +0100 JAMES-4103 Allow subsclassing ParsedAttachment Usefull to pass information along in custom implementations --- .../src/main/java/org/apache/james/mailbox/model/ParsedAttachment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailbox/api/src/main/java/org/apache/james/mailbox/model/ParsedAttachment.java b/mailbox/api/src/main/java/org/apache/james/mailbox/model/ParsedAttachment.java index 187da177da..a962e040a2 100644 --- a/mailbox/api/src/main/java/org/apache/james/mailbox/model/ParsedAttachment.java +++ b/mailbox/api/src/main/java/org/apache/james/mailbox/model/ParsedAttachment.java @@ -86,7 +86,7 @@ public class ParsedAttachment { private final Optional<Cid> cid; private final boolean isInline; - private ParsedAttachment(ContentType contentType, ByteSource content, Optional<String> name, Optional<Cid> cid, boolean isInline) { + public ParsedAttachment(ContentType contentType, ByteSource content, Optional<String> name, Optional<Cid> cid, boolean isInline) { this.contentType = contentType; this.content = content; this.name = name; --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org