Skip to content

Commit

Permalink
docs: change example from 'extends AbstractCustomPhaseCommand' to 'im…
Browse files Browse the repository at this point in the history
…plements CustomPhaseCommand'
  • Loading branch information
aioobe authored and triceo committed Jul 9, 2023
1 parent 66cfa80 commit 8a7c815
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ For example, implement `CustomPhaseCommand` and its `changeWorkingSolution()` me

[source,java,options="nowrap"]
----
public class ToOriginalMachineSolutionInitializer extends AbstractCustomPhaseCommand<MachineReassignment> {
public class ToOriginalMachineSolutionInitializer implements CustomPhaseCommand<MachineReassignment> {
public void changeWorkingSolution(ScoreDirector<MachineReassignment> scoreDirector) {
MachineReassignment machineReassignment = scoreDirector.getWorkingSolution();
Expand Down

0 comments on commit 8a7c815

Please sign in to comment.