james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu Baechler <mbaech...@linagora.com>
Subject Re: Sub-addressing support in JAMES
Date Mon, 02 May 2016 09:22:05 GMT


On 04/29/2016 08:32 AM, Benoit Tellier wrote:
> Moreover, we should take advantage of this task to factorize code :
>
> We have two MailAddress classes :
>
> org.apache.mailet.MailAddress
> org.apache.james.protocols.smtp.MailAddress;
>
> These two class have almost the same content (copy and paste ?), and
> tests are only written for the mailet one.
>
> In my opinion, we must make smtp protocol depend on mailet api to reuse
> MailAddress object across our projects and fight code duplication.
>
IMO you overestimate the value of sharing code.

Why SMTP should depend on mailet from a business point of view ?

-- 
Matthieu Baechler

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