File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/test/java/org/simplejavamail/converter/internal/mimemessage Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -141,8 +141,7 @@ public void call() throws Throwable {
141141 public void filenameWithSpaceEncoding () throws IOException , MessagingException {
142142 final String fileName = "file name.txt" ;
143143 final Email email = EmailHelper .createDummyEmailBuilder (true , true , false )
144- .clearAttachments ().withAttachment (fileName , "abc" .getBytes (),
145- "text/plain" ).buildEmail ();
144+ .clearAttachments ().withAttachment (fileName , "abc" .getBytes (), "text/plain" ).buildEmail ();
146145 final MimeMessage mimeMessage = EmailConverter .emailToMimeMessage (email );
147146 final BodyPart bodyPart = ((MimeMultipart ) mimeMessage .getContent ()).getBodyPart (1 );
148147 ContentType ct = new ContentType (bodyPart .getHeader ("Content-Type" )[0 ]);
You can’t perform that action at this time.
0 commit comments