X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fmail%2FAccount.java;h=aa739d9e4862c7dcd42c233af9cf86582a756c1a;hb=40e53cd3c7abe25902add4c97b8bc9202f3c8931;hp=0177734a2a84d07608375491403f3fde330d2bd2;hpb=11fbf4c3e89a8fb5c05056e94264d7490e9911b0;p=org.ibex.mail.git diff --git a/src/org/ibex/mail/Account.java b/src/org/ibex/mail/Account.java index 0177734..aa739d9 100644 --- a/src/org/ibex/mail/Account.java +++ b/src/org/ibex/mail/Account.java @@ -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,10 +9,11 @@ public class Account { public final String user; public final Address address; + protected MailTree root = null; - private final Mailbox root; - public Mailbox getMailbox(Class protocol) { return this.root; } + public MailTree getMailbox(Class protocol) { return this.root; } - public Account(String user, Address address, Mailbox root) { this.user = user; this.address = address; this.root = root; } + protected Account(String user, Address address) { this.user = user; this.address = address; } + public Account(String user, Address address, MailTree root) { this.user = user; this.address = address; this.root = root; } }