james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1103189 - /james/server/trunk/mailbox-adapter/src/main/java/org/apache/james/adapter/mailbox/MailboxManagerManagement.java
Date Sat, 14 May 2011 19:11:18 GMT
Author: norman
Date: Sat May 14 19:11:17 2011
New Revision: 1103189

URL: http://svn.apache.org/viewvc?rev=1103189&view=rev
Log:
fix compile error after last mailbox refactoring

Modified:
    james/server/trunk/mailbox-adapter/src/main/java/org/apache/james/adapter/mailbox/MailboxManagerManagement.java

Modified: james/server/trunk/mailbox-adapter/src/main/java/org/apache/james/adapter/mailbox/MailboxManagerManagement.java
URL: http://svn.apache.org/viewvc/james/server/trunk/mailbox-adapter/src/main/java/org/apache/james/adapter/mailbox/MailboxManagerManagement.java?rev=1103189&r1=1103188&r2=1103189&view=diff
==============================================================================
--- james/server/trunk/mailbox-adapter/src/main/java/org/apache/james/adapter/mailbox/MailboxManagerManagement.java
(original)
+++ james/server/trunk/mailbox-adapter/src/main/java/org/apache/james/adapter/mailbox/MailboxManagerManagement.java
Sat May 14 19:11:17 2011
@@ -63,7 +63,7 @@ public class MailboxManagerManagement ex
         try {
             session = mailboxManager.createSystemSession(username, log);
             mailboxManager.startProcessingRequest(session);
-            List<MailboxMetaData> mList = mailboxManager.search(new MailboxQuery(MailboxPath.inbox(username),
"", session.getPathDelimiter()), session);
+            List<MailboxMetaData> mList = mailboxManager.search(new MailboxQuery(MailboxPath.inbox(session),
"", session.getPathDelimiter()), session);
             for (int i = 0; i < mList.size(); i++) {
                 mailboxManager.deleteMailbox(mList.get(i).getPath(), session);
             }
@@ -105,7 +105,7 @@ public class MailboxManagerManagement ex
         try {
             session = mailboxManager.createSystemSession(username, log);
             mailboxManager.startProcessingRequest(session);
-            List<MailboxMetaData> mList = mailboxManager.search(new MailboxQuery(MailboxPath.inbox(username),
"", session.getPathDelimiter()), session);
+            List<MailboxMetaData> mList = mailboxManager.search(new MailboxQuery(MailboxPath.inbox(session),
"", session.getPathDelimiter()), session);
             for (int i = 0; i < mList.size(); i++) {
                 boxes.add(mList.get(i).getPath().getName());
             }



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