FileChunkRequest[] fileChunks = new FileChunkRequest[3];
for (int i = 0; i < fileChunks.length; i++) {
FileChunkRequest fileChunk = this.fileChunkRequest(sender,
blockSize, fileSize, gapList, filePartStatus,
fileRequestList);
if (fileChunk == null)
fileChunk = new FileChunkRequest(0, 0);
else
fileRequestList.addFragment(sender, fileChunk.getChunkBegin(),
fileChunk.getChunkEnd());
fileChunks[i] = fileChunk;
}
return fileChunks;