james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r960806 - /james/server/trunk/spoolmanager/src/main/java/org/apache/james/MailboxManagerPoster.java
Date Tue, 06 Jul 2010 06:24:23 GMT
Author: norman
Date: Tue Jul  6 06:24:23 2010
New Revision: 960806

URL: http://svn.apache.org/viewvc?rev=960806&view=rev
Log:
make namespaces simple String (IMAP-178). Patch was contributed by Tim Christian Mundt. Thx!

Modified:
    james/server/trunk/spoolmanager/src/main/java/org/apache/james/MailboxManagerPoster.java

Modified: james/server/trunk/spoolmanager/src/main/java/org/apache/james/MailboxManagerPoster.java
URL: http://svn.apache.org/viewvc/james/server/trunk/spoolmanager/src/main/java/org/apache/james/MailboxManagerPoster.java?rev=960806&r1=960805&r2=960806&view=diff
==============================================================================
--- james/server/trunk/spoolmanager/src/main/java/org/apache/james/MailboxManagerPoster.java
(original)
+++ james/server/trunk/spoolmanager/src/main/java/org/apache/james/MailboxManagerPoster.java
Tue Jul  6 06:24:23 2010
@@ -32,6 +32,7 @@ import javax.mail.internet.MimeMessage;
 
 import org.apache.commons.logging.Log;
 import org.apache.james.imap.mailbox.Mailbox;
+import org.apache.james.imap.mailbox.MailboxConstants;
 import org.apache.james.imap.mailbox.MailboxManager;
 import org.apache.james.imap.mailbox.MailboxSession;
 import org.apache.james.lifecycle.LogEnabled;
@@ -104,7 +105,7 @@ public class MailboxManagerPoster implem
                         mailboxManager.startProcessingRequest(session);
 
                         // This allows Sieve scripts to use a standard delimiter regardless
of mailbox implementation
-                        String destination = urlPath.replace('/', session.getPersonalSpace().getDeliminator());
+                        String destination = urlPath.replace('/', MailboxConstants.DEFAULT_DELIMITER);
                         
                         if (destination == null || "".equals(destination)) {
                             destination = "INBOX";



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