618a3af602f872b99aaaec3ef7b21510e36b45b0
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable resourceDeprecatedKey : String to oldResourceDeprecatedKey : String in method private runBatchUpdateForAllResources(resources Collection<ResourceDto>, oldKey String, newKey String, mapper ResourceKeyUpdaterMapper) : void in class org.sonar.db.component.ResourceKeyUpdaterDao | From | To | |
Rename Variable resourceKey : String to oldResourceKey : String in method private runBatchUpdateForAllResources(resources Collection<ResourceDto>, oldKey String, newKey String, mapper ResourceKeyUpdaterMapper) : void in class org.sonar.db.component.ResourceKeyUpdaterDao | From | To | |
Move Attribute | 2 | ||
Move Attribute private MAX_QUALIFIER_LENGTH : int from class org.sonar.server.component.NewComponent to private MAX_QUALIFIER_LENGTH : int from class org.sonar.db.component.ComponentValidator | From | To | |
Move Attribute private MAX_NAME_LENGTH : int from class org.sonar.server.component.NewComponent to private MAX_NAME_LENGTH : int from class org.sonar.db.component.ComponentValidator | From | To | |
Extract Class | 1 | ||
Extract Class org.sonar.db.component.ComponentValidator from class org.sonar.server.component.NewComponent | From | To | |
Rename Attribute | 2 | ||
Rename Attribute dbTester : DbTester to db : DbTester in class org.sonar.db.component.ResourceKeyUpdaterDaoTest | From | To | |
Rename Attribute dao : ResourceKeyUpdaterDao to underTest : ResourceKeyUpdaterDao in class org.sonar.db.component.ResourceKeyUpdaterDaoTest | From | To | |
Extract Variable | 2 | ||
Extract Variable newResourceKey : String in method private runBatchUpdateForAllResources(resources Collection<ResourceDto>, oldKey String, newKey String, mapper ResourceKeyUpdaterMapper) : void from class org.sonar.db.component.ResourceKeyUpdaterDao | From | To | |
Extract Variable newResourceDeprecatedKey : String in method private runBatchUpdateForAllResources(resources Collection<ResourceDto>, oldKey String, newKey String, mapper ResourceKeyUpdaterMapper) : void from class org.sonar.db.component.ResourceKeyUpdaterDao | From | To |