118fe4ad5e17e8470fc62f3e8996e384d2c44484
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Pull Up Method | 4 | ||
| Pull Up Method public removePhaseLifecycleListener(phaseLifecycleListener PhaseLifecycleListener<Solution_>) : void from class org.optaplanner.core.impl.solver.DefaultSolver to public removePhaseLifecycleListener(phaseLifecycleListener PhaseLifecycleListener<Solution_>) : void from class org.optaplanner.core.impl.solver.AbstractSolver | From | To | |
| Pull Up Method public addEventListener(eventListener SolverEventListener<Solution_>) : void from class org.optaplanner.core.impl.solver.DefaultSolver to public addEventListener(eventListener SolverEventListener<Solution_>) : void from class org.optaplanner.core.impl.solver.AbstractSolver | From | To | |
| Pull Up Method public addPhaseLifecycleListener(phaseLifecycleListener PhaseLifecycleListener<Solution_>) : void from class org.optaplanner.core.impl.solver.DefaultSolver to public addPhaseLifecycleListener(phaseLifecycleListener PhaseLifecycleListener<Solution_>) : void from class org.optaplanner.core.impl.solver.AbstractSolver | From | To | |
| Pull Up Method public removeEventListener(eventListener SolverEventListener<Solution_>) : void from class org.optaplanner.core.impl.solver.DefaultSolver to public removeEventListener(eventListener SolverEventListener<Solution_>) : void from class org.optaplanner.core.impl.solver.AbstractSolver | From | To | |
| Move And Rename Method | 1 | ||
| Move And Rename Method public setConstraintMatchEnabledPreference(constraintMatchEnabledPreference boolean) : void from class org.optaplanner.core.impl.solver.DefaultSolver to public overwriteConstraintMatchEnabledPreference(constraintMatchEnabledPreference boolean) : void from class org.optaplanner.core.impl.score.director.AbstractScoreDirector | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type solver : DefaultSolver<Solution_> to solver : Solver<Solution_> in method public SolverEventSupport(solver Solver<Solution_>) in class org.optaplanner.core.impl.solver.event.SolverEventSupport | From | To | |
| Move Method | 1 | ||
| Move Method public isConstraintMatchEnabledPreference() : boolean from class org.optaplanner.core.impl.solver.DefaultSolver to public isConstraintMatchEnabledPreference() : boolean from class org.optaplanner.core.impl.score.director.AbstractScoreDirector | From | To | |
| Pull Up Attribute | 2 | ||
| Pull Up Attribute protected phaseLifecycleSupport : PhaseLifecycleSupport<Solution_> from class org.optaplanner.core.impl.solver.DefaultSolver to protected phaseLifecycleSupport : PhaseLifecycleSupport<Solution_> from class org.optaplanner.core.impl.solver.AbstractSolver | From | To | |
| Pull Up Attribute protected solverEventSupport : SolverEventSupport<Solution_> from class org.optaplanner.core.impl.solver.DefaultSolver to protected solverEventSupport : SolverEventSupport<Solution_> from class org.optaplanner.core.impl.solver.AbstractSolver | From | To | |
| Change Return Type | 2 | ||
| Change Return Type List<Phase> to List<Phase<Solution_>> in method protected buildPhaseList(configPolicy HeuristicConfigPolicy, bestSolutionRecaller BestSolutionRecaller, termination Termination) : List<Phase<Solution_>> in class org.optaplanner.core.config.solver.SolverConfig | From | To | |
| Change Return Type List<Phase> to List<Phase<Solution_>> in method public getPhaseList() : List<Phase<Solution_>> in class org.optaplanner.core.impl.solver.DefaultSolver | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.optaplanner.core.impl.solver.AbstractSolver from classes [org.optaplanner.core.impl.solver.DefaultSolver] | From | To | |
| Change Variable Type | 3 | ||
| Change Variable Type it : Iterator<Phase> to it : Iterator<Phase<Solution_>> in method protected runPhases() : void in class org.optaplanner.core.impl.solver.DefaultSolver | From | To | |
| Change Variable Type phaseList : List<Phase> to phaseList : List<Phase<Solution_>> in method protected buildPhaseList(configPolicy HeuristicConfigPolicy, bestSolutionRecaller BestSolutionRecaller, termination Termination) : List<Phase<Solution_>> in class org.optaplanner.core.config.solver.SolverConfig | From | To | |
| Change Variable Type phase : Phase to phase : Phase<Solution_> in method protected buildPhaseList(configPolicy HeuristicConfigPolicy, bestSolutionRecaller BestSolutionRecaller, termination Termination) : List<Phase<Solution_>> in class org.optaplanner.core.config.solver.SolverConfig | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type phaseList : List<Phase> to phaseList : List<Phase<Solution_>> in class org.optaplanner.core.impl.solver.DefaultSolver | From | To |