Skip to content

Commit b86b192

Browse files
triceoCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent c683609 commit b86b192

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/src/main/java/ai/timefold/solver/core/api/domain/entity/PlanningEntity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
* The solver will treat them as one entity.</li>
3737
* <li>Entity {@link Object#equals(Object)} and {@link Object#hashCode()} must not depend on any planning variable.
3838
* The return value of these methods must not change when any planning variable changes.
39-
* It is recommended for entities to implement a unique {@link PlanningId},
40-
* and use that for equality comparisons.</li>
39+
* It is recommended for entities to declare a unique member annotated with {@link PlanningId},
40+
* and use that member for equality comparisons.</li>
4141
* </ul>
4242
*
4343
* Failing to follow these requirements will cause undefined behavior in the solver,

0 commit comments

Comments
 (0)