Skip to content

Commit

Permalink
chore: address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zepfred committed Aug 12, 2024
1 parent 84f51c8 commit 91a9c6f
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import ai.timefold.solver.core.api.domain.variable.CascadingUpdateShadowVariable;
import ai.timefold.solver.core.api.domain.variable.InverseRelationShadowVariable;
import ai.timefold.solver.core.api.domain.variable.NextElementShadowVariable;
import ai.timefold.solver.core.api.domain.variable.PiggybackShadowVariable;
import ai.timefold.solver.core.api.domain.variable.PreviousElementShadowVariable;

import com.fasterxml.jackson.annotation.JsonIgnore;
Expand Down Expand Up @@ -47,11 +46,9 @@ public class Job {
*/
@CascadingUpdateShadowVariable(targetMethodName = "updateStartCleaningDateTime")
private LocalDateTime startCleaningDateTime;

@PiggybackShadowVariable(shadowVariableName = "startCleaningDateTime")
@CascadingUpdateShadowVariable(targetMethodName = "updateStartCleaningDateTime")
private LocalDateTime startProductionDateTime;

@PiggybackShadowVariable(shadowVariableName = "startCleaningDateTime")
@CascadingUpdateShadowVariable(targetMethodName = "updateStartCleaningDateTime")
private LocalDateTime endDateTime;

// No-arg constructor required for Timefold
Expand Down

0 comments on commit 91a9c6f

Please sign in to comment.