260261262263264265266267268269270
final FutureTask[] tasks = new FutureTask[2]; tasks[0] = new FutureTask(new CopyTask(urlcopy)); if (info != null) { tasks[1] = new FutureTask(new CopyWatchTask(info, debug)); } else { tasks[1] = null; } for (int i = 0; i < tasks.length; i++) {