Return empty list instead of throwing an exception
FEA: ItEr75S11PreventLooseChanges
This commit is contained in:
parent
00db73a60f
commit
0454254330
2 changed files with 2 additions and 2 deletions
|
|
@ -196,7 +196,7 @@ public class Task extends TaskElement implements ITaskPositionConstrained {
|
|||
|
||||
@Override
|
||||
public List<TaskElement> getChildren() {
|
||||
throw new UnsupportedOperationException();
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
public Set<ResourceAllocation<?>> getSatisfiedResourceAllocations() {
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ public class TaskMilestone extends TaskElement implements ITaskPositionConstrain
|
|||
|
||||
@Override
|
||||
public List<TaskElement> getChildren() {
|
||||
throw new UnsupportedOperationException();
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
public CalculatedValue getCalculatedValue() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue