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

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

So Uid and UidValidity, each composed of a NzNumber, something like:

public final class Uid() {

   private final NzNumber nzNumber;

   public Uid(NzNumber nzNumber) {
     this.nzNumber = nzNumber;
  }

  public NzNumber toNzNumber() {
    return nzNumber;
  }

 public String toString() {

}

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

Reply via email to