1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00

Fix MimeMessage(InputStream in, boolean recurse)

No actual impact, because all existing calls were
with recurse = true.
This commit is contained in:
Joe Steele 2013-09-07 12:52:14 -04:00
parent b2013b6f5e
commit 1ff128890d

View File

@ -62,10 +62,13 @@ public class MimeMessage extends Message {
/**
* Parse the given InputStream using Apache Mime4J to build a MimeMessage.
* Nested messages will not be recursively parsed.
*
* @param in
* @throws IOException
* @throws MessagingException
*
* @see #MimeMessage(InputStream in, boolean recurse)
*/
public MimeMessage(InputStream in) throws IOException, MessagingException {
parse(in);
@ -80,7 +83,7 @@ public class MimeMessage extends Message {
* @throws MessagingException
*/
public MimeMessage(InputStream in, boolean recurse) throws IOException, MessagingException {
parse(in, true);
parse(in, recurse);
}
protected void parse(InputStream in) throws IOException, MessagingException {