james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1092716 - /james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java
Date Fri, 15 Apr 2011 14:20:24 GMT
Author: norman
Date: Fri Apr 15 14:20:24 2011
New Revision: 1092716

URL: http://svn.apache.org/viewvc?rev=1092716&view=rev
Log:
Add expunged uid to list. See MAILBOX-50

Modified:
    james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java

Modified: james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java?rev=1092716&r1=1092715&r2=1092716&view=diff
==============================================================================
--- james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java
(original)
+++ james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/mail/MaildirMessageMapper.java
Fri Apr 15 14:20:24 2011
@@ -216,7 +216,9 @@ public class MaildirMessageMapper extend
         List<Long> uids = new ArrayList<Long>();
         for (int i = 0; i < results.size(); i++) {
             MailboxMembership<Integer> m = results.get(i);
+            long uid = m.getUid();
             delete(mailbox, m);
+            uids.add(uid);
         }
         return uids.iterator();
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message