Skip to content

Commit

Permalink
Missing null check
Browse files Browse the repository at this point in the history
Signed-off-by: jmehrens <[email protected]>
  • Loading branch information
jmehrens committed Nov 1, 2023
1 parent 6736eb0 commit 67413d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ public final void setAttachmentNames(final String... names) {
this.alignAttachmentFormatters(formatters.length);
this.alignAttachmentFilters(formatters.length);
for (int i = 0; i < formatters.length; ++i) {
String name = names[i];
String name = names != null ? names[i] : null;
if (isEmpty(name)) {
name = toString(this.attachmentFormatters[i]);
}
Expand Down

0 comments on commit 67413d6

Please sign in to comment.