f38f4521fe3ff3761ba4377ac714f546e6fe9849
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public deactivate_user() : void renamed to public deactivate_user_and_delete_his_related_data() : void in class org.sonar.server.user.ws.DeactivateActionTest | From | To | |
| Move And Inline Method | 1 | ||
| Move And Inline Method public deactivateUserByLogin(login String) : void moved from class org.sonar.server.user.UserUpdater to class org.sonar.server.user.ws.DeactivateAction & inlined to public handle(request Request, response Response) : void | From | To | |
| Inline Method | 2 | ||
| Inline Method private writeUser(json JsonWriter, login String) : void inlined to private writeResponse(response Response, login String) : void in class org.sonar.server.user.ws.DeactivateAction | From | To | |
| Change Return Type | 1 | ||
| Change Return Type void to UserDto in method private createUser() : UserDto in class org.sonar.server.user.ws.DeactivateActionTest | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute userUpdater : UserUpdater to userIndexer : UserIndexer in class org.sonar.server.user.ws.DeactivateAction | From | To | |
| Rename Attribute userSessionRule : UserSessionRule to userSession : UserSessionRule in class org.sonar.server.user.ws.DeactivateActionTest | From | To | |
| Extract Method | 2 | ||
| Extract Method private loginAsAdmin() : void extracted from public deactivate_user() : void in class org.sonar.server.user.ws.DeactivateActionTest | From | To | |
| Extract Method private verifyThatUserIsDeactivated(login String) : void extracted from public deactivate_user() : void in class org.sonar.server.user.ws.DeactivateActionTest | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type ws : WsTester to ws : WsActionTester in class org.sonar.server.user.ws.DeactivateActionTest | From | To | |
| Change Attribute Type userUpdater : UserUpdater to userIndexer : UserIndexer in class org.sonar.server.user.ws.DeactivateAction | From | To |