Skip to content

SED-4816-refactor-attachments-resources - #79

Merged
cl-exense merged 1 commit into
masterfrom
SED-4816-refactor-attachments-resources
Aug 27, 2026
Merged

SED-4816-refactor-attachments-resources#79
cl-exense merged 1 commit into
masterfrom
SED-4816-refactor-attachments-resources

Conversation

@cl-exense

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request modifies AttachmentHelper.java to pass null instead of a default "application/octet-stream" MIME type when generating an attachment from a byte array, relying on downstream storage to auto-determine the type. The reviewer notes that passing null introduces a risk of NullPointerException for downstream consumers of the Attachment object if they do not perform null checks on the MIME type.

@cl-exense
cl-exense merged commit 757c498 into master Aug 27, 2026
@cl-exense
cl-exense deleted the SED-4816-refactor-attachments-resources branch August 27, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants