33343536373839404142
@Override public Task[] tasks(TaskDef[] taskDefs) { int length = taskDefs.length; Task[] tasks = new Task[length]; for (int i = 0; i < length; i++) { TaskDef taskDef = taskDefs[i]; tasks[i] = createTask(taskDef); } return tasks; }