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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to