You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mime4j-dev@james.apache.org by Hendrik Dev <he...@gmail.com> on 2014/10/30 21:36:21 UTC

Common interface for AdressBuilder/LenientAddressBuilder

Is there a special reason why AdressBuilder and LenientAddressBuilder
(org.apache.james.mime4j.field.address) don't have a common interface
or superclass?

If there is no such reason i would provide a patch for that.
Currently its hard to do polyphormism on that.

Thanks
Hendrik

-- 
Hendrik Saly (salyh, hendrikdev22)
@hendrikdev22
PGP: 0x22D7F6EC

Re: Common interface for AdressBuilder/LenientAddressBuilder

Posted by Hendrik Dev <he...@gmail.com>.
done -> https://github.com/apache/james-mime4j/pull/2

On Fri, Oct 31, 2014 at 1:59 PM, Oleg Kalnichevski <ol...@apache.org> wrote:
> On Thu, 2014-10-30 at 21:36 +0100, Hendrik Dev wrote:
>> Is there a special reason why AdressBuilder and LenientAddressBuilder
>> (org.apache.james.mime4j.field.address) don't have a common interface
>> or superclass?
>>
>> If there is no such reason i would provide a patch for that.
>> Currently its hard to do polyphormism on that.
>>
>> Thanks
>> Hendrik
>>
>
> No reason. Feel free to raise a PR at GitHub.
>
> Oleg
>
>



-- 
Hendrik Saly (salyh, hendrikdev22)
@hendrikdev22
PGP: 0x22D7F6EC

Re: Common interface for AdressBuilder/LenientAddressBuilder

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Thu, 2014-10-30 at 21:36 +0100, Hendrik Dev wrote:
> Is there a special reason why AdressBuilder and LenientAddressBuilder
> (org.apache.james.mime4j.field.address) don't have a common interface
> or superclass?
> 
> If there is no such reason i would provide a patch for that.
> Currently its hard to do polyphormism on that.
> 
> Thanks
> Hendrik
> 

No reason. Feel free to raise a PR at GitHub.

Oleg