[ 
https://issues.apache.org/jira/browse/IMAP-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917920#action_12917920
 ] 

Eric Charles commented on IMAP-221:
-----------------------------------

btw, we could simply name that class "Uid" instead of "NzNumber". after all, it 
represents... a uid :)

if we generalize the usage of this class in all methods signature, we will  
still have to use some primitive types for the persistence.
Example, the uid attribute in the JPAMailboxMembership (for jpa).
What do we do there ? probably simply leave it as long ?
We will have to convert the long to the Uid,
The good point is that we already loop to build some List<Long> in the 
mail-store project, so we would build some List<Uid>.


> nz-numbers must be unsigned 32bit ints
> --------------------------------------
>
>                 Key: IMAP-221
>                 URL: https://issues.apache.org/jira/browse/IMAP-221
>             Project: JAMES Imap
>          Issue Type: Bug
>          Components: Parser, Protocol
>    Affects Versions: 0.1
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.2
>
>
> Currently we use long/Long as return type when a message uid is retrieved. 
> Thats wrong as the RFC only allow 32-Bit numbers. We should change the 
> methods to make this clear.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to