-
Notifications
You must be signed in to change notification settings - Fork 169
chore: remove PlanningClone-related interfaces #2005
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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 the PlanningCloneable and PlanningImmutable interfaces and their associated test implementations, which are remnants from old Python work that are no longer needed.
- Deletes the PlanningCloneable and PlanningImmutable interface definitions
- Removes all test domain classes that implemented PlanningCloneable
- Removes cloning logic that handled PlanningCloneable instances, simplifying the code to use direct constructor calls
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| PlanningCloneableSolution.java | Deleted test solution class that implemented PlanningCloneable |
| PlanningCloneableMap.java | Deleted test map wrapper that implemented PlanningCloneable |
| PlanningCloneableList.java | Deleted test list wrapper that implemented PlanningCloneable |
| PlanningCloneableEntity.java | Deleted test entity that implemented PlanningCloneable |
| AbstractSolutionClonerTest.java | Removed test case and imports for PlanningCloneable functionality |
| GizmoSolutionClonerImplementor.java | Removed PlanningCloneable handling logic, simplified to direct constructor calls |
| GizmoCloningUtils.java | Removed PlanningCloneable import and related check |
| FieldAccessingSolutionCloner.java | Removed PlanningCloneable handling from clone construction methods |
| DeepCloningUtils.java | Removed PlanningImmutable/PlanningCloneable conflict validation |
| PlanningImmutable.java | Deleted interface definition |
| PlanningCloneable.java | Deleted interface definition |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
...i/timefold/solver/core/impl/domain/solution/cloner/gizmo/GizmoSolutionClonerImplementor.java
Outdated
Show resolved
Hide resolved
...i/timefold/solver/core/impl/domain/solution/cloner/gizmo/GizmoSolutionClonerImplementor.java
Outdated
Show resolved
Hide resolved
These are remnants of the old Python work which are no longer necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 11 out of 11 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|



These are remnants of the old Python work which are no longer necessary.