commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1086061 - /commons/proper/net/trunk/src/main/java/examples/mail/IMAPMail.java
Date Sun, 27 Mar 2011 22:20:37 GMT
Author: sebb
Date: Sun Mar 27 22:20:36 2011
New Revision: 1086061

URL: http://svn.apache.org/viewvc?rev=1086061&view=rev
Log:
status requires status names

Modified:
    commons/proper/net/trunk/src/main/java/examples/mail/IMAPMail.java

Modified: commons/proper/net/trunk/src/main/java/examples/mail/IMAPMail.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/examples/mail/IMAPMail.java?rev=1086061&r1=1086060&r2=1086061&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/examples/mail/IMAPMail.java (original)
+++ commons/proper/net/trunk/src/main/java/examples/mail/IMAPMail.java Sun Mar 27 22:20:36
2011
@@ -91,7 +91,7 @@ public final class IMAPMail
 
             imap.examine("inbox");
 
-            imap.status("inbox", null);
+            imap.status("inbox", new String[]{"MESSAGES"});
 
             imap.logout();
             imap.disconnect();



Mime
View raw message