From 0f443a19e9225273f117a825dd3dd9047731662d Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 15 Jul 2007 23:09:03 +0000 Subject: [PATCH] fix IMAP semantics darcs-hash:20070715230903-5007d-be4ebf752db32e5a11224d1e27e87bfb16d5afd8.gz --- src/org/ibex/mail/Mailbox.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 1.7.10.4