c4e7fb294ca6b445db2a59336913642dd7273f2b
Files Diff
- Added: 26
- Removed: 2
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type restartHandler : RestartHandler to actions : SystemWsAction... in method public SystemWs(actions SystemWsAction...) in class org.sonar.server.platform.ws.SystemWs | From | To | |
Inline Method | 1 | ||
Inline Method private canRestart() : boolean inlined to public handle(request Request, response Response) : void in class org.sonar.server.platform.ws.SystemRestartWsAction | From | To | |
Rename Class | 2 | ||
Rename Class org.sonar.server.platform.ws.RestartHandler renamed to org.sonar.server.platform.ws.SystemRestartWsAction | From | To | |
Rename Class org.sonar.server.platform.ws.RestartHandlerTest renamed to org.sonar.server.platform.ws.SystemRestartWsActionTest | From | To | |
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute restartHandler : RestartHandler to sut : SystemRestartWsAction in method public fail_if_production_mode() : void in class org.sonar.server.platform.ws.SystemRestartWsActionTest | From | To | |
Replace Variable With Attribute restartHandler : RestartHandler to sut : SystemRestartWsAction in method public restart_if_dev_mode() : void in class org.sonar.server.platform.ws.SystemRestartWsActionTest | From | To | |
Change Variable Type | 2 | ||
Change Variable Type restartHandler : RestartHandler to sut : SystemRestartWsAction in method public fail_if_production_mode() : void in class org.sonar.server.platform.ws.SystemRestartWsActionTest | From | To | |
Change Variable Type restartHandler : RestartHandler to sut : SystemRestartWsAction in method public restart_if_dev_mode() : void in class org.sonar.server.platform.ws.SystemRestartWsActionTest | From | To | |
Extract Interface | 1 | ||
Extract Interface org.sonar.server.platform.ws.SystemWsAction from classes [org.sonar.server.platform.ws.SystemRestartWsAction] | From | To | |
Rename Parameter | 1 | ||
Rename Parameter restartHandler : RestartHandler to actions : SystemWsAction... in method public SystemWs(actions SystemWsAction...) in class org.sonar.server.platform.ws.SystemWs | From | To |