00ddcf2a1369a17728d10ffeddb58ea1a0b60151
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private updateComponent(existingComponent ComponentDto, newComponent ComponentDto) : boolean renamed to private shouldUpdate(existingComponent ComponentDto, newComponent ComponentDto) : boolean in class org.sonar.server.computation.step.PersistComponentsStep | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method private createComponentDto(reportComponent BatchReport.Component, component Component) : ComponentDto from class org.sonar.server.computation.step.PersistComponentsStep.PersistComponentExecutor to private createBase(component Component) : ComponentDto from class org.sonar.server.computation.step.PersistComponentsStep | From | To | |
Move Method | 1 | ||
Move Method private addToCache(component Component, componentDto ComponentDto) : void from class org.sonar.server.computation.step.PersistComponentsStep.PersistComponentExecutor to private addToCache(component Component, componentDto ComponentDto) : void from class org.sonar.server.computation.step.PersistComponentsStep | From | To | |
Rename Variable | 1 | ||
Rename Variable isUpdated : boolean to modified : boolean in method private shouldUpdate(existingComponent ComponentDto, newComponent ComponentDto) : boolean in class org.sonar.server.computation.step.PersistComponentsStep | From | To | |
Extract Method | 1 | ||
Extract Method private indexExistingDtosByKey(session DbSession) : Map<String,ComponentDto> extracted from public execute() : void in class org.sonar.server.computation.step.PersistComponentsStep | From | To |