rename MailboxTree -> MailTree
[org.ibex.mail.git] / src / org / ibex / mail / Account.java
index ff20169..aa739d9 100644 (file)
@@ -1,3 +1,7 @@
+// Copyright 2000-2005 the Contributors, as shown in the revision logs.
+// Licensed under the Apache Public Source License 2.0 ("the License").
+// You may not use this file except in compliance with the License.
+
 package org.ibex.mail;
 import org.ibex.mail.target.*;
 
@@ -5,11 +9,11 @@ public class Account {
 
     public final String user;
     public final Address address;
-    protected Mailbox root = null;
+    protected MailTree root = null;
 
-    public Mailbox getMailbox(Class protocol) { return this.root; }
+    public MailTree getMailbox(Class protocol) { return this.root; }
 
     protected Account(String user, Address address) { this.user = user; this.address = address; }
-    public Account(String user, Address address, Mailbox root) { this.user = user; this.address = address; this.root = root; }
+    public Account(String user, Address address, MailTree root) { this.user = user; this.address = address; this.root = root; }
 
 }