replace TaskListener[] by List<TaskListener>