Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ff12889 authored by Joe Steele's avatar Joe Steele
Browse files

Fix MimeMessage(InputStream in, boolean recurse)

No actual impact, because all existing calls were
with recurse = true.
parent b2013b6f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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 {