commenting in Mailbox.java
authoradam <adam@megacz.com>
Sat, 1 Mar 2008 05:58:08 +0000 (05:58 +0000)
committeradam <adam@megacz.com>
Sat, 1 Mar 2008 05:58:08 +0000 (05:58 +0000)
darcs-hash:20080301055808-5007d-5173c14a57e72be1117b33c75723187f546b9539.gz

src/org/ibex/mail/Mailbox.java

index 5c72270..23c62cf 100644 (file)
@@ -73,7 +73,11 @@ public abstract class Mailbox extends JS.Obj implements Target {
     public static interface Iterator {
         public abstract Message cur();
         public abstract Headers head();
+
+        // FIXME: change all code to actually use this convention!
+        /** JDBC convention: iterator starts "before the first element" */
         public abstract boolean next();
+
         public abstract void    delete();
 
         /** a unique identifier for this message */