ItEr60S04ValidacionEProbasFuncionaisItEr59S04: It must return a new state for the new scenario.

This commit is contained in:
Óscar González Fernández 2010-06-22 14:09:02 +02:00
parent 70b71aed76
commit 717234f2db

View file

@ -308,7 +308,8 @@ public class GenericResourceAllocation extends
@Override
protected DayAssignmentsState switchTo(Scenario scenario) {
return this;
return new ExplicitlySpecifiedScenarioState(
scenario);
}
}