james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAILBOX-236) Strong type for Mailbox id
Date Mon, 29 Jun 2015 09:02:04 GMT

    [ https://issues.apache.org/jira/browse/MAILBOX-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14605309#comment-14605309
] 

Tellier Benoit commented on MAILBOX-236:
----------------------------------------

Patch commited.

Can someone resolve this issue ? ( I do not have rights for this... )

> Strong type for Mailbox id
> --------------------------
>
>                 Key: MAILBOX-236
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-236
>             Project: James Mailbox
>          Issue Type: Improvement
>            Reporter: Matthieu Baechler
>
> I'd like to bring something that bothers me : whenever you get an Id from a Mailbox,
you can only call Object methods.
> It makes some code rely on toString() call in case of serialization.
> If you put aside some special types, toString is not supposed to return a stable and
meaningful value.
> I'd like to make Message and Mailbox use a bounded parameters. This parameter would extend
an Id interface, and this interface could have a serialize method.
> Comments welcome (and patch is coming soon)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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