change num() to imapNumber() and nntpNumber(), add comments about semantics
[org.ibex.mail.git] / src / org / ibex / mail / target / SqliteJdbcMailbox.java
index a4830a1..ccc9ccc 100644 (file)
@@ -68,8 +68,9 @@ public class SqliteJdbcMailbox extends Mailbox.Default {
         public Headers head()   { return cur().headers; }
         public boolean next()   { try { m = null; count++; return rs.next(); } catch (Exception e) { throw new RuntimeException(e); } }
         public int     uid()    { throw new RuntimeException("not supported"); }
-        public int     num()    { return count; } // FIXME FIXME 
-        public void    delete() { throw new RuntimeException("not supported"); }
+        public int     nntpNumber() { throw new RuntimeException("not supported"); }
+        public int     imapNumber() { return count; }
+        public void    delete()     { throw new RuntimeException("not supported"); }
     }
 
     private static String streamToString(Stream stream) throws Exception {