Fix bug with partitioning of IMAP FETCH commands

This commit is contained in:
cketti 2011-02-21 21:07:56 +01:00
parent 1455b8fbb8
commit 397d01d513
1 changed files with 1 additions and 1 deletions

View File

@ -1103,7 +1103,7 @@ public class ImapStore extends Store {
for (int windowStart = 0; windowStart <= messages.length; windowStart += (FETCH_WINDOW_SIZE)) {
for (int windowStart = 0; windowStart < messages.length; windowStart += (FETCH_WINDOW_SIZE)) {
List<String> uidWindow = uids.subList(windowStart, Math.min((windowStart + FETCH_WINDOW_SIZE), messages.length));
try {