099d46d39848b39df264fc75592868d4c9ca5e56
Files Diff
- Added: 10
- Removed: 10
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public resourceKeyUpdaterDao() : ResourceKeyUpdaterDao renamed to public componentKeyUpdaterDao() : ComponentKeyUpdaterDao in class org.sonar.db.DbClient | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type mapper : ResourceKeyUpdaterMapper to mapper : ComponentKeyUpdaterMapper in method private collectAllModules(projectUuid String, stringToReplace String, mapper ComponentKeyUpdaterMapper) : Set<ResourceDto> in class org.sonar.db.component.ComponentKeyUpdaterDao | From | To | |
Change Parameter Type mapper : ResourceKeyUpdaterMapper to mapper : ComponentKeyUpdaterMapper in method private checkNewNameOfAllModules(modules Set<ResourceDto>, stringToReplace String, replacementString String, mapper ComponentKeyUpdaterMapper) : void in class org.sonar.db.component.ComponentKeyUpdaterDao | From | To | |
Change Parameter Type mapper : ResourceKeyUpdaterMapper to mapper : ComponentKeyUpdaterMapper in method private runBatchUpdateForAllResources(resources Collection<ResourceDto>, oldKey String, newKey String, mapper ComponentKeyUpdaterMapper) : void in class org.sonar.db.component.ComponentKeyUpdaterDao | From | To | |
Change Return Type | 2 | ||
Change Return Type ResourceKeyUpdaterDao to ComponentKeyUpdaterDao in method public componentKeyUpdaterDao() : ComponentKeyUpdaterDao in class org.sonar.db.DbClient | From | To | |
Change Return Type ResourceKeyUpdaterMapper to ComponentKeyUpdaterMapper in method private mapper(dbSession DbSession) : ComponentKeyUpdaterMapper in class org.sonar.db.component.ComponentKeyUpdaterDao | From | To | |
Rename Class | 3 | ||
Rename Class org.sonar.db.component.ResourceKeyUpdaterDao renamed to org.sonar.db.component.ComponentKeyUpdaterDao | From | To | |
Rename Class org.sonar.db.component.ResourceKeyUpdaterDaoTest renamed to org.sonar.db.component.ComponentKeyUpdaterDaoTest | From | To | |
Rename Class org.sonar.db.component.ResourceKeyUpdaterMapper renamed to org.sonar.db.component.ComponentKeyUpdaterMapper | From | To | |
Rename Attribute | 1 | ||
Rename Attribute resourceKeyUpdaterDao : ResourceKeyUpdaterDao to componentKeyUpdaterDao : ComponentKeyUpdaterDao in class org.sonar.db.DbClient | From | To | |
Change Variable Type | 3 | ||
Change Variable Type mapper : ResourceKeyUpdaterMapper to mapper : ComponentKeyUpdaterMapper in method public updateKey(projectUuid String, newKey String) : void in class org.sonar.db.component.ComponentKeyUpdaterDao | From | To | |
Change Variable Type mapper : ResourceKeyUpdaterMapper to mapper : ComponentKeyUpdaterMapper in method public checkModuleKeysBeforeRenaming(projectUuid String, stringToReplace String, replacementString String) : Map<String,String> in class org.sonar.db.component.ComponentKeyUpdaterDao | From | To | |
Change Variable Type mapper : ResourceKeyUpdaterMapper to mapper : ComponentKeyUpdaterMapper in method public bulkUpdateKey(session DbSession, projectUuid String, stringToReplace String, replacementString String) : void in class org.sonar.db.component.ComponentKeyUpdaterDao | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type underTest : ResourceKeyUpdaterDao to underTest : ComponentKeyUpdaterDao in class org.sonar.db.component.ComponentKeyUpdaterDaoTest | From | To | |
Change Attribute Type resourceKeyUpdaterDao : ResourceKeyUpdaterDao to componentKeyUpdaterDao : ComponentKeyUpdaterDao in class org.sonar.db.DbClient | From | To |