645d874eda971f79a0927aa6370adb9489f148b7
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 4 | ||
Move Method public update_module_key() : void from class org.sonar.server.component.ComponentServiceTest to public update_module_key() : void from class org.sonar.server.component.ComponentServiceUpdateKeyTest | From | To | |
Move Method public fail_to_update_project_key_without_admin_permission() : void from class org.sonar.server.component.ComponentServiceTest to public fail_to_update_project_key_without_admin_permission() : void from class org.sonar.server.component.ComponentServiceUpdateKeyTest | From | To | |
Move Method public update_provisioned_project_key() : void from class org.sonar.server.component.ComponentServiceTest to public update_provisioned_project_key() : void from class org.sonar.server.component.ComponentServiceUpdateKeyTest | From | To | |
Move Method public update_project_key() : void from class org.sonar.server.component.ComponentServiceTest to public update_project_key() : void from class org.sonar.server.component.ComponentServiceUpdateKeyTest | From | To | |
Rename Variable | 1 | ||
Rename Variable session : DbSession to dbSession : DbSession in method public updateKey(projectOrModuleKey String, newKey String) : void in class org.sonar.server.component.ComponentService | From | To | |
Extract Class | 1 | ||
Extract Class org.sonar.server.component.ComponentServiceUpdateKeyTest from class org.sonar.server.component.ComponentServiceTest | From | To | |
Rename Attribute | 3 | ||
Rename Attribute session : DbSession to dbSession : DbSession in class org.sonar.server.component.ComponentServiceTest | From | To | |
Rename Attribute service : ComponentService to underTest : ComponentService in class org.sonar.server.component.ComponentServiceTest | From | To | |
Rename Attribute userSessionRule : UserSessionRule to userSession : UserSessionRule in class org.sonar.server.component.ComponentServiceTest | From | To | |
Extract Method | 1 | ||
Extract Method private assertComponentKeyHasBeenUpdated(oldKey String, newKey String) : void extracted from public update_module_key() : void in class org.sonar.server.component.ComponentServiceUpdateKeyTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type i18n : I18n to i18n : I18nRule in class org.sonar.server.component.ComponentServiceTest | From | To |