Skip to content

Comments

refactor: remove remaining deprecation from public API#1024

Merged
triceo merged 3 commits intoTimefoldAI:developmentfrom
triceo:old
Feb 17, 2026
Merged

refactor: remove remaining deprecation from public API#1024
triceo merged 3 commits intoTimefoldAI:developmentfrom
triceo:old

Conversation

@triceo
Copy link
Collaborator

@triceo triceo commented Feb 14, 2026

@triceo triceo requested a review from TomCools as a code owner February 14, 2026 09:24
Copilot AI review requested due to automatic review settings February 14, 2026 09:24
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes all remaining deprecated API usage from the Timefold solver quickstart examples, aligning with deprecation removal in the core solver library (as referenced in the linked PRs). The changes update import paths and annotation attributes to use the current non-deprecated API equivalents.

Changes:

  • Updated PlanningId import from deprecated ai.timefold.solver.core.api.domain.lookup package to ai.timefold.solver.core.api.domain.entity
  • Changed @PlanningVariable annotation from deprecated strengthComparatorClass attribute to comparatorClass
  • Removed unused deprecated imports (ShadowVariablesInconsistent and unused LocalDate)

Reviewed changes

Copilot reviewed 50 out of 50 changed files in this pull request and generated no comments.

Show a summary per file
File Description
kotlin/school-timetabling/.../Timeslot.kt Updated PlanningId import path
kotlin/school-timetabling/.../Room.kt Updated PlanningId import path
kotlin/school-timetabling/.../Lesson.kt Updated PlanningId import path
java/vehicle-routing/.../Visit.java Updated PlanningId import path and removed ShadowVariablesInconsistent import
java/vehicle-routing/.../Vehicle.java Updated PlanningId import path
java/tournament-scheduling/.../TeamAssignment.java Updated PlanningId import path
java/tournament-scheduling/.../Team.java Updated PlanningId import path
java/task-assigning/.../Task.java Updated PlanningId import path and removed ShadowVariablesInconsistent import
java/task-assigning/.../Employee.java Updated PlanningId import path
java/spring-boot-integration/.../Timeslot.java Updated PlanningId import path
java/spring-boot-integration/.../Room.java Updated PlanningId import path
java/spring-boot-integration/.../Lesson.java Updated PlanningId import path
java/sports-league-scheduling/.../Round.java Updated PlanningId import path
java/sports-league-scheduling/.../Match.java Updated PlanningId import path
java/school-timetabling/.../Timeslot.java Updated PlanningId import path
java/school-timetabling/.../Room.java Updated PlanningId import path
java/school-timetabling/.../Lesson.java Updated PlanningId import path
java/project-job-scheduling/.../ExecutionMode.java Updated PlanningId import path
java/project-job-scheduling/.../Allocation.java Updated PlanningId import path, reorganized imports, changed strengthComparatorClass to comparatorClass
java/order-picking/.../Trolley.java Updated PlanningId import path
java/order-picking/.../PickTask.java Updated PlanningId import path
java/meeting-scheduling/.../TimeGrain.java Updated PlanningId import path
java/meeting-scheduling/.../Room.java Updated PlanningId import path
java/meeting-scheduling/.../MeetingAssignment.java Updated PlanningId import path
java/meeting-scheduling/.../Attendance.java Updated PlanningId import path
java/maintenance-scheduling/.../WorkCalendar.java Updated PlanningId import path
java/maintenance-scheduling/.../Job.java Updated PlanningId import path
java/maintenance-scheduling/.../Crew.java Updated PlanningId import path
java/hello-world/.../Timeslot.java Updated PlanningId import path
java/hello-world/.../Room.java Updated PlanningId import path
java/hello-world/.../Lesson.java Updated PlanningId import path
java/food-packaging/.../Product.java Updated PlanningId import path
java/food-packaging/.../Operator.java Updated PlanningId import path
java/food-packaging/.../Line.java Updated PlanningId import path
java/food-packaging/.../Job.java Updated PlanningId import path, removed ShadowVariablesInconsistent import, removed unused LocalDate import
java/flight-crew-scheduling/.../FlightAssignment.java Updated PlanningId import path
java/flight-crew-scheduling/.../Flight.java Updated PlanningId import path
java/flight-crew-scheduling/.../Employee.java Updated PlanningId import path
java/flight-crew-scheduling/.../Airport.java Updated PlanningId import path
java/facility-location/.../Facility.java Updated PlanningId import path
java/facility-location/.../Consumer.java Updated PlanningId import path
java/employee-scheduling/.../Shift.java Updated PlanningId import path
java/employee-scheduling/.../Employee.java Updated PlanningId import path
java/conference-scheduling/.../Timeslot.java Updated PlanningId import path
java/conference-scheduling/.../Talk.java Updated PlanningId import path
java/conference-scheduling/.../Room.java Updated PlanningId import path
java/bed-allocation/.../Stay.java Updated PlanningId import path
java/bed-allocation/.../Room.java Updated PlanningId import path
java/bed-allocation/.../Department.java Updated PlanningId import path
java/bed-allocation/.../Bed.java Updated PlanningId import path

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@triceo triceo merged commit fcfa8cd into TimefoldAI:development Feb 17, 2026
47 of 49 checks passed
@triceo triceo deleted the old branch February 17, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants