Remove unused fields and methods

FEA: ItEr62OTS04PlanificacionHaciaAtras
This commit is contained in:
Óscar González Fernández 2010-10-28 12:30:56 +02:00
parent 79a9fb9f99
commit eb74eded59

View file

@ -425,12 +425,8 @@ public abstract class ResourceAllocation<T extends DayAssignment> extends
*/
public abstract List<Resource> getAssociatedResources();
@OnCopy(Strategy.IGNORE)
private Scenario currentScenario;
public void switchToScenario(Scenario scenario) {
Validate.notNull(scenario);
currentScenario = scenario;
assignmentsState = assignmentsState.switchTo(scenario);
switchDerivedAllocationsTo(scenario);
}
@ -1098,10 +1094,6 @@ public abstract class ResourceAllocation<T extends DayAssignment> extends
modificationsNotAllowed();
}
protected final void setParentFor(T each) {
modificationsNotAllowed();
}
@Override
protected final void addAssignments(Collection<? extends T> assignments) {
modificationsNotAllowed();