PlanningVariable's nullable is newly called unassignedValues
Apache 2.0Removes references to null vars and replace them with unassigned values.
ai. timefold. solver. migration. v8. NullableRecipemod run . --recipe= ai. timefold. solver. migration. v8. NullableRecipeInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Change method name
ai.timefold.solver.core.api.score.stream.ConstraintFactory forEachIncludingNullVars(Class)toforEachIncludingUnassigned - Change method name
ai.timefold.solver.core.api.score.stream.uni.UniConstraintStream ifExistsIncludingNullVars(..)toifExistsIncludingUnassigned - Change method name
ai.timefold.solver.core.api.score.stream.uni.UniConstraintStream ifExistsOtherIncludingNullVars(..)toifExistsOtherIncludingUnassigned - Change method name
ai.timefold.solver.core.api.score.stream.uni.UniConstraintStream ifNotExistsIncludingNullVars(..)toifNotExistsIncludingUnassigned - Change method name
ai.timefold.solver.core.api.score.stream.uni.UniConstraintStream ifNotExistsOtherIncludingNullVars(..)toifNotExistsOtherIncludingUnassigned - Change method name
ai.timefold.solver.core.api.score.stream.bi.BiConstraintStream ifExistsIncludingNullVars(..)toifExistsIncludingUnassigned - Change method name
ai.timefold.solver.core.api.score.stream.bi.BiConstraintStream ifNotExistsIncludingNullVars(..)toifNotExistsIncludingUnassigned - Change method name
ai.timefold.solver.core.api.score.stream.tri.TriConstraintStream ifExistsIncludingNullVars(..)toifExistsIncludingUnassigned - Change method name
ai.timefold.solver.core.api.score.stream.tri.TriConstraintStream ifNotExistsIncludingNullVars(..)toifNotExistsIncludingUnassigned - Change method name
ai.timefold.solver.core.api.score.stream.quad.QuadConstraintStream ifExistsIncludingNullVars(..)toifExistsIncludingUnassigned - Change method name
ai.timefold.solver.core.api.score.stream.quad.QuadConstraintStream ifNotExistsIncludingNullVars(..)toifNotExistsIncludingUnassigned - Change annotation attribute name
@PlanningVariable(nullable)to@PlanningVariable(allowsUnassigned)