fix IMAP semantics
authoradam <adam@megacz.com>
Sun, 15 Jul 2007 23:09:03 +0000 (23:09 +0000)
committeradam <adam@megacz.com>
Sun, 15 Jul 2007 23:09:03 +0000 (23:09 +0000)
darcs-hash:20070715230903-5007d-be4ebf752db32e5a11224d1e27e87bfb16d5afd8.gz

src/org/ibex/mail/Mailbox.java

index e305cc4..046bd12 100644 (file)
@@ -77,10 +77,10 @@ public abstract class Mailbox extends JS.Obj implements Target {
 
         /**
          *  Message number according to IMAP semantics.
+         *    - must range from 1..numMessagesInMailbox
          *    - no two messages in the same mailbox may have the same imapNumber
          *    - sorting by uid must yield the same order as sorting them by imapNumber
-         *    - imapNumber may only change if uidValidity changes
-         *    - if uidValidity changes, imapNumbers may change or be reused
+         *    - imapNumber changes when messages with lower imapNumbers are deleted
          */
         public abstract int     imapNumber();