projects
/
org.ibex.mail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7522062
)
misc note in IMAP
author
adam
<adam@megacz.com>
Sun, 15 Jul 2007 21:54:09 +0000
(21:54 +0000)
committer
adam
<adam@megacz.com>
Sun, 15 Jul 2007 21:54:09 +0000
(21:54 +0000)
darcs-hash:
20070715215409
-5007d-
b0e81627072223806d8596dac3399de32f18ad84
.gz
src/org/ibex/mail/IMAP.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/mail/IMAP.java
b/src/org/ibex/mail/IMAP.java
index
a111429
..
f6a254d
100644
(file)
--- a/
src/org/ibex/mail/IMAP.java
+++ b/
src/org/ibex/mail/IMAP.java
@@
-116,6
+116,10
@@
public class IMAP {
private Mailbox mailbox(String name, boolean create, boolean throwexn) {
if (name.equalsIgnoreCase("inbox")) return inbox;
MailTree mt = mailboxTree(name, create, throwexn);
private Mailbox mailbox(String name, boolean create, boolean throwexn) {
if (name.equalsIgnoreCase("inbox")) return inbox;
MailTree mt = mailboxTree(name, create, throwexn);
+ /* FIXME: throw throwexn here
+ if (mt==null || mt.getMailbox()==null)
+ Log.error("mt==null", name);
+ */
return mt==null ? null : mt.getMailbox();
}
private MailTree mailboxTree(String name, boolean create) { return mailboxTree(name, create, true); }
return mt==null ? null : mt.getMailbox();
}
private MailTree mailboxTree(String name, boolean create) { return mailboxTree(name, create, true); }