james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1134610 - /james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/CopyProcessor.java
Date Sat, 11 Jun 2011 12:55:43 GMT
Author: norman
Date: Sat Jun 11 12:55:42 2011
New Revision: 1134610

URL: http://svn.apache.org/viewvc?rev=1134610&view=rev
Log:
Change CopyProcessor to reflect latest mailbox changes. See MAILBOX-85

Modified:
    james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/CopyProcessor.java

Modified: james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/CopyProcessor.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/CopyProcessor.java?rev=1134610&r1=1134609&r2=1134610&view=diff
==============================================================================
--- james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/CopyProcessor.java
(original)
+++ james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/CopyProcessor.java
Sat Jun 11 12:55:42 2011
@@ -22,8 +22,6 @@ package org.apache.james.imap.processor;
 import java.util.ArrayList;
 import java.util.List;
 
-import javax.mail.Flags;
-
 import org.apache.james.imap.api.ImapCommand;
 import org.apache.james.imap.api.ImapSessionUtils;
 import org.apache.james.imap.api.display.HumanReadableText;
@@ -85,7 +83,10 @@ public class CopyProcessor extends Abstr
                             // done.
                             // See RFC 3501 6.4.7. COPY Command
                             // See IMAP-287
-                            mailbox.setFlags(new Flags(Flags.Flag.RECENT), true, false, mr,
mailboxSession);
+                            //
+                            // Disable this as this is now done directly in the scope of
the copy operation.
+                            // See MAILBOX-85
+                            //mailbox.setFlags(new Flags(Flags.Flag.RECENT), true, false,
mr, mailboxSession);
                             resultRanges.add(new IdRange(mr.getUidFrom(), mr.getUidTo()));
                         }
                     }



---------------------------------------------------------------------
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