mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-17 07:30:16 -05:00
Fix MimeMessage(InputStream in, boolean recurse)
No actual impact, because all existing calls were with recurse = true.
This commit is contained in:
parent
b2013b6f5e
commit
1ff128890d
@ -62,10 +62,13 @@ public class MimeMessage extends Message {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Parse the given InputStream using Apache Mime4J to build a MimeMessage.
|
* Parse the given InputStream using Apache Mime4J to build a MimeMessage.
|
||||||
|
* Nested messages will not be recursively parsed.
|
||||||
*
|
*
|
||||||
* @param in
|
* @param in
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
* @throws MessagingException
|
* @throws MessagingException
|
||||||
|
*
|
||||||
|
* @see #MimeMessage(InputStream in, boolean recurse)
|
||||||
*/
|
*/
|
||||||
public MimeMessage(InputStream in) throws IOException, MessagingException {
|
public MimeMessage(InputStream in) throws IOException, MessagingException {
|
||||||
parse(in);
|
parse(in);
|
||||||
@ -80,7 +83,7 @@ public class MimeMessage extends Message {
|
|||||||
* @throws MessagingException
|
* @throws MessagingException
|
||||||
*/
|
*/
|
||||||
public MimeMessage(InputStream in, boolean recurse) throws IOException, MessagingException {
|
public MimeMessage(InputStream in, boolean recurse) throws IOException, MessagingException {
|
||||||
parse(in, true);
|
parse(in, recurse);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void parse(InputStream in) throws IOException, MessagingException {
|
protected void parse(InputStream in) throws IOException, MessagingException {
|
||||||
|
Loading…
Reference in New Issue
Block a user