From: adam Date: Sun, 15 Jul 2007 23:09:03 +0000 (+0000) Subject: fix IMAP semantics X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=0f443a19e9225273f117a825dd3dd9047731662d;p=org.ibex.mail.git fix IMAP semantics darcs-hash:20070715230903-5007d-be4ebf752db32e5a11224d1e27e87bfb16d5afd8.gz --- diff --git a/src/org/ibex/mail/Mailbox.java b/src/org/ibex/mail/Mailbox.java index e305cc4..046bd12 100644 --- a/src/org/ibex/mail/Mailbox.java +++ b/src/org/ibex/mail/Mailbox.java @@ -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();