1283bbf0857434b3438c77ffe8d781284d9a7df7
Files Diff
- Added: 5
- Removed: 4
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public can_move_to_STOPPING_from_STARTING_STARTED_only() : void renamed to public can_move_to_STOPPING_from_STARTING_STARTED_and_STOPPING_only() : void in class org.sonar.application.process.ManagedProcessLifecycleTest | From | To | |
Change Return Type | 1 | ||
Change Return Type void to Optional<HardStopperThread> in method private hardStopAsync() : Optional<HardStopperThread> in class org.sonar.process.ProcessEntryPoint | From | To | |
Extract Attribute | 1 | ||
Extract Attribute private HARD_STOP_TIMEOUT : ManagedProcessHandler.Timeout in class org.sonar.application.SchedulerImpl | From | To | |
Rename Class | 2 | ||
Rename Class org.sonar.process.HardStopperThreadTest renamed to org.sonar.process.AbstractStopperThreadTest | From | To | |
Rename Class org.sonar.process.HardStopWatcherTest renamed to org.sonar.process.AbstractStopWatcherTest | From | To | |
Extract Method | 8 | ||
Extract Method public newHanderBuilder(aProcessId ProcessId) : ManagedProcessHandler.Builder extracted from public stopForcibly_stops_the_process_without_graceful_request_for_stop() : void in class org.sonar.application.process.ManagedProcessHandlerTest | From | To | |
Extract Method private hardStopImpl() : void extracted from public hardStop() : void in class org.sonar.application.SchedulerImpl | From | To | |
Extract Method public newHanderBuilder(aProcessId ProcessId) : ManagedProcessHandler.Builder extracted from public start_throws_exception_and_move_to_state_STOPPED_if_execution_of_command_fails() : void in class org.sonar.application.process.ManagedProcessHandlerTest | From | To | |
Extract Method public newHanderBuilder(aProcessId ProcessId) : ManagedProcessHandler.Builder extracted from public start_does_not_nothing_if_already_started_once() : void in class org.sonar.application.process.ManagedProcessHandlerTest | From | To | |
Extract Method public newHanderBuilder(aProcessId ProcessId) : ManagedProcessHandler.Builder extracted from public initial_state_is_INIT() : void in class org.sonar.application.process.ManagedProcessHandlerTest | From | To | |
Extract Method public newHanderBuilder(aProcessId ProcessId) : ManagedProcessHandler.Builder extracted from public test_toString() : void in class org.sonar.application.process.ManagedProcessHandlerTest | From | To | |
Extract Method private ensureHardStopTimeoutNonNull(hardStopTimeout Timeout) : Timeout extracted from public setHardStopTimeout(hardStopTimeout Timeout) : Builder in class org.sonar.application.process.ManagedProcessHandler.Builder | From | To | |
Extract Method private interrupt(thread Thread) : void extracted from public hardStop() : void in class org.sonar.application.SchedulerImpl | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method private hardStopImpl() : void extracted from public run() : void in class org.sonar.application.SchedulerImpl.HardStopperThread & moved to class org.sonar.application.SchedulerImpl | From | To |