From dc40026b31048bfa360bc933d51db5b90ac4f73d Mon Sep 17 00:00:00 2001 From: Daniel Applebaum Date: Sun, 18 Jan 2009 16:35:47 +0000 Subject: [PATCH] Meant to add to revision 313 notes: Patches were handling uppercase MIME types were submitted by gwillen in K-9 issue 94 (MimeBodyPart.java and MimeMessage.java) and Josh Guilfoyle as part of Android patch 1539 (MimeUtility.java) Sorry for missing the attribution on the original commit --- src/com/android/email/mail/internet/MimeBodyPart.java | 2 +- src/com/android/email/mail/internet/MimeMessage.java | 2 +- src/com/android/email/mail/internet/MimeUtility.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/android/email/mail/internet/MimeBodyPart.java b/src/com/android/email/mail/internet/MimeBodyPart.java index 1fecd8589..539319b19 100644 --- a/src/com/android/email/mail/internet/MimeBodyPart.java +++ b/src/com/android/email/mail/internet/MimeBodyPart.java @@ -18,7 +18,7 @@ public class MimeBodyPart extends BodyPart { protected MimeHeader mHeader = new MimeHeader(); protected Body mBody; protected int mSize; - + public MimeBodyPart() throws MessagingException { this(null); } diff --git a/src/com/android/email/mail/internet/MimeMessage.java b/src/com/android/email/mail/internet/MimeMessage.java index 8b8e3e891..bf76748da 100644 --- a/src/com/android/email/mail/internet/MimeMessage.java +++ b/src/com/android/email/mail/internet/MimeMessage.java @@ -39,7 +39,7 @@ public class MimeMessage extends Message { protected SimpleDateFormat mDateFormat = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss Z"); protected Body mBody; protected int mSize; - + public MimeMessage() { /* * Every new messages gets a Message-ID diff --git a/src/com/android/email/mail/internet/MimeUtility.java b/src/com/android/email/mail/internet/MimeUtility.java index 462b94778..505bb7b81 100644 --- a/src/com/android/email/mail/internet/MimeUtility.java +++ b/src/com/android/email/mail/internet/MimeUtility.java @@ -28,7 +28,7 @@ import com.android.email.mail.Part; public class MimeUtility { - + public static String unfold(String s) { if (s == null) { return null;