493494495496497498499500501502503
/** * @inheritDoc */ public Task[] getNestedTasks(Task container) { TaskNode r = (TaskNode) root; Enumeration e = r.children(); Vector v = new Vector(); while (e.hasMoreElements()) v.add((TaskNode) e.nextElement()); Task[] res = new Task[v.size()];