Fix wrong name
The method renamed was also used in non limiting allocations FEA: ItEr60S04ValidacionEProbasFuncionaisItEr59S04
This commit is contained in:
parent
e24a04a80e
commit
a5bfbac403
3 changed files with 3 additions and 3 deletions
|
|
@ -133,7 +133,7 @@ public class GenericResourceAllocation extends
|
|||
task));
|
||||
}
|
||||
|
||||
public static GenericResourceAllocation createForLimiting(Task task,
|
||||
public static GenericResourceAllocation create(Task task,
|
||||
Collection<? extends Criterion> criterions) {
|
||||
GenericResourceAllocation result = new GenericResourceAllocation(task);
|
||||
result.criterions = new HashSet<Criterion>(criterions);
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ public class GenericAllocationRow extends AllocationRow {
|
|||
}
|
||||
|
||||
private GenericResourceAllocation createGenericAllocation(Task task) {
|
||||
GenericResourceAllocation result = GenericResourceAllocation.createForLimiting(task, criterions);
|
||||
GenericResourceAllocation result = GenericResourceAllocation.create(task, criterions);
|
||||
GenericResourceAllocation origin = (GenericResourceAllocation) getOrigin();
|
||||
if (origin != null) {
|
||||
result.overrideAssignedHoursForResource(origin);
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ public class LimitingAllocationRow {
|
|||
public static LimitingAllocationRow create(Set<Criterion> criteria,
|
||||
Collection<? extends Resource> resources, Task task, int priority) {
|
||||
LimitingAllocationRow result = new LimitingAllocationRow(
|
||||
GenericResourceAllocation.createForLimiting(task, criteria), task,
|
||||
GenericResourceAllocation.create(task, criteria), task,
|
||||
priority);
|
||||
result.setResources(resources);
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue