000f6b88a4cb60410a2bad5ef976bb783b3c7ba9
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move Method | 2 | ||
| Move Method public bulk_update_project_key() : void from class org.sonar.server.component.ComponentServiceTest to public bulk_update_project_key() : void from class org.sonar.server.component.ws.BulkUpdateKeyActionTest | From | To | |
| Move Method public bulk_update_provisioned_project_key() : void from class org.sonar.server.component.ComponentServiceTest to public bulk_update_provisioned_project_key() : void from class org.sonar.server.component.ws.BulkUpdateKeyActionTest | From | To | |
| Rename Variable | 2 | ||
| Rename Variable session : DbSession to dbSession : DbSession in method public bulkUpdateKey(projectKey String, stringToReplace String, replacementString String) : void in class org.sonar.server.component.ComponentService | From | To | |
| Rename Variable newName : String to newKey : String in method private checkNewNameOfAllModules(modules Set<ResourceDto>, stringToReplace String, replacementString String, mapper ResourceKeyUpdaterMapper) : void in class org.sonar.db.component.ResourceKeyUpdaterDao | From | To | |
| Extract Class | 1 | ||
| Extract Class org.sonar.server.component.ws.BulkUpdateKeyActionTest from class org.sonar.server.component.ComponentServiceTest | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable session : DbSession to dbSession : DbSession in method public bulkUpdateKey(dbSession DbSession, projectKey String, stringToReplace String, replacementString String) : void in class org.sonar.server.component.ComponentService | From | To | |
| Extract Method | 2 | ||
| Extract Method public bulkUpdateKey(dbSession DbSession, projectKey String, stringToReplace String, replacementString String) : void extracted from public bulkUpdateKey(projectKey String, stringToReplace String, replacementString String) : void in class org.sonar.server.component.ComponentService | From | To | |
| Extract Method private assertComponentKeyUpdated(oldKey String, newKey String) : void extracted from public bulk_update_project_key() : void in class org.sonar.server.component.ws.BulkUpdateKeyActionTest | From | To |