long uid = uids[i];
int msn = mailbox.getMsn(uid);
if ((useUids && includes(idSet, uid)) ||
(!useUids && includes(idSet, msn))) {
SimpleStoredMessage storedMessage = mailbox.getMessage(uid);
String msgData = outputMessage(fetch, storedMessage, mailbox, useUids);
response.fetchResponse(msn, msgData);
}
}