Skip to content

Commit 93af846

Browse files
YYChildrenYYChildren
authored andcommitted
beautify name
1 parent dee4a9c commit 93af846

File tree

1 file changed

+3
-3
lines changed
  • src/main/java/org/codemonkey/simplejavamail/email

1 file changed

+3
-3
lines changed

src/main/java/org/codemonkey/simplejavamail/email/Email.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -574,14 +574,14 @@ private void fillEmailFromMimeMessage(MimeMessageParser parser) throws Messaging
574574
this.setText(parser.getPlainContent());
575575
this.setTextHTML(parser.getHtmlContent());
576576
for (Map.Entry<String, DataSource> cid : parser.getCidMap().entrySet()) {
577-
this.addEmbeddedImage(beautidyCID(cid.getKey()), cid.getValue());
577+
this.addEmbeddedImage(beautifyCID(cid.getKey()), cid.getValue());
578578
}
579579
for (Map.Entry<String, DataSource> attachment : parser.getAttachmentList().entrySet()) {
580-
this.addAttachment(beautidyCID(attachment.getKey()), attachment.getValue());
580+
this.addAttachment(beautifyCID(attachment.getKey()), attachment.getValue());
581581
}
582582
}
583583

584-
private String beautidyCID(String cid){
584+
private String beautifyCID(String cid){
585585
int len1 = 0;
586586
if(cid == null || (len1 = cid.length() - 1) < 0){
587587
return cid;

0 commit comments

Comments
 (0)