Skip to content

Commit 5ac7b70

Browse files
committed
making CodeCop happy
1 parent 38a5fdb commit 5ac7b70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Apps/W1/EDocument/App/src/Processing/EDocumentEmailing.Codeunit.al

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ codeunit 6188 "E-Document Emailing"
2020

2121
var
2222
GlobalTempBlobList: Codeunit "Temp Blob List";
23-
GlobalExtensionList: List of [Text];
23+
GlobalExtensionList: List of [Text[4]];
2424
EDocumentAttachmentNameTok: Label '%1 %2', Locked = true, Comment = '%1 = Attachment name, %2 = File format';
2525
PDFFileTypeTok: Label '.pdf', Locked = true;
2626
ZipFileTypeTok: Label '.zip', Locked = true;
@@ -87,7 +87,7 @@ codeunit 6188 "E-Document Emailing"
8787
);
8888
end;
8989

90-
procedure SetAttachments(Attachments: Codeunit "Temp Blob List"; ExtensionList: List of [Text])
90+
procedure SetAttachments(Attachments: Codeunit "Temp Blob List"; ExtensionList: List of [Text[4]])
9191
begin
9292
GlobalTempBlobList := Attachments;
9393
GlobalExtensionList := ExtensionList;

src/Apps/W1/EDocument/App/src/Processing/EDocumentProcessing.Codeunit.al

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ codeunit 6108 "E-Document Processing"
170170
TempBlobList: Codeunit "Temp Blob List";
171171
TypeHelper: Codeunit "Type Helper";
172172
SourceReference: RecordRef;
173-
ExtensionList: List of [Text];
173+
ExtensionList: List of [Text[4]];
174174
begin
175175
// Email if attachment is E-Document or PDF & E-Document
176176
TypeHelper.CopyRecVariantToRecRef(RecordVariant, SourceReference);

0 commit comments

Comments
 (0)