nntp improvements
[org.ibex.mail.git] / src / org / ibex / mail / target / FileBasedMailbox.java
index 0e7c6f9..3f198d0 100644 (file)
@@ -74,9 +74,7 @@ public class FileBasedMailbox extends Mailbox.Default {
         String[] files = path.list();
         for(int i=0; i<files.length; i++) {
             try {
-                if (files[i].indexOf('.') == -1) continue;
-                if (files[i].charAt(0) == '.') continue;
-                files[i] = files[i].substring(0, files[i].indexOf('.'));
+                if (files[i].indexOf('.') != -1) files[i] = files[i].substring(0, files[i].indexOf('.'));
                 int n = Integer.parseInt(files[i]);
                 if (n>=uidNext) uidNext = n;
             } catch(Exception e) { Log.error(this, e); }