james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1149595 - /james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/StoreMessageManager.java
Date Fri, 22 Jul 2011 12:59:50 GMT
Author: norman
Date: Fri Jul 22 12:59:49 2011
New Revision: 1149595

URL: http://svn.apache.org/viewvc?rev=1149595&view=rev
Log:
Make sure the returned permanentflags are not static and so we don't have any side effect.
See MAILBOX-109

Modified:
    james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/StoreMessageManager.java

Modified: james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/StoreMessageManager.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/StoreMessageManager.java?rev=1149595&r1=1149594&r2=1149595&view=diff
==============================================================================
--- james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/StoreMessageManager.java
(original)
+++ james/mailbox/trunk/store/src/main/java/org/apache/james/mailbox/store/StoreMessageManager.java
Fri Jul 22 12:59:49 2011
@@ -82,7 +82,9 @@ import com.sun.mail.imap.protocol.Messag
 public class StoreMessageManager<Id> implements org.apache.james.mailbox.MessageManager{
 
     /**
-     * The minimal Permanent flags the {@link MessageManager} must support
+     * The minimal Permanent flags the {@link MessageManager} must support. <br>
+     * 
+     * <strong>Be sure this static instance will never get modifed later!</strong>
      */
     protected final static Flags MINIMAL_PERMANET_FLAGS;
     static {



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