5fadc715d37aea7067e1c7308c218af40ce96327
Files Diff
- Added: 4
- Removed: 2
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method public persist_snapshots() : void from class org.sonar.server.computation.step.PersistComponentsAndSnapshotsStepTest to public persist_snapshots() : void from class org.sonar.server.computation.step.PersistSnapshotStepTest | From | To | |
Move Method public persist_snapshots_on_multi_modules() : void from class org.sonar.server.computation.step.PersistComponentsAndSnapshotsStepTest to public persist_snapshots_on_multi_modules() : void from class org.sonar.server.computation.step.PersistSnapshotStepTest | From | To | |
Rename Variable | 2 | ||
Rename Variable componentDtosByKey : Map<String,ComponentDto> to existingComponentDtosByKey : Map<String,ComponentDto> in method public execute() : void in class org.sonar.server.computation.step.PersistComponentsStep | From | To | |
Rename Variable components : List<ComponentDto> to existingComponents : List<ComponentDto> in method public execute() : void in class org.sonar.server.computation.step.PersistComponentsStep | From | To | |
Change Return Type | 3 | ||
Change Return Type PersistedComponent to ComponentDto in method public processDirectory(directory Component, reportComponent BatchReport.Component, lastModule ComponentDto) : ComponentDto in class org.sonar.server.computation.step.PersistComponentsStep.PersisComponent | From | To | |
Change Return Type PersistedComponent to ComponentDto in method public processProject(project Component, reportComponent BatchReport.Component) : ComponentDto in class org.sonar.server.computation.step.PersistComponentsStep.PersisComponent | From | To | |
Change Return Type PersistedComponent to ComponentDto in method public processModule(module Component, reportComponent BatchReport.Component, lastModule ComponentDto) : ComponentDto in class org.sonar.server.computation.step.PersistComponentsStep.PersisComponent | From | To | |
Move Attribute | 1 | ||
Move Attribute package system2 : System2 from class org.sonar.server.computation.step.PersistComponentsAndSnapshotsStepTest to package system2 : System2 from class org.sonar.server.computation.step.PersistSnapshotStepTest | From | To | |
Extract Class | 1 | ||
Extract Class org.sonar.server.computation.step.PersistSnapshotStepTest from class org.sonar.server.computation.step.PersistComponentsAndSnapshotsStepTest | From | To | |
Rename Class | 2 | ||
Rename Class org.sonar.server.computation.step.PersistComponentsAndSnapshotsStepTest renamed to org.sonar.server.computation.step.PersistComponentsStepTest | From | To | |
Rename Class org.sonar.server.computation.step.PersistComponentsAndSnapshotsStep renamed to org.sonar.server.computation.step.PersistComponentsStep | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.sonar.server.computation.step.PersistComponentsAndSnapshotsStep.PersisComponentExecutor moved and renamed to org.sonar.server.computation.step.PersistComponentsStep.PersisComponent | From | To | |
Rename Attribute | 1 | ||
Rename Attribute componentDtosByKey : Map<String,ComponentDto> to existingComponentDtosByKey : Map<String,ComponentDto> in class org.sonar.server.computation.step.PersistComponentsStep.PersisComponent | From | To | |
Change Variable Type | 1 | ||
Change Variable Type persistedModule : PersistedComponent to persistedModule : ComponentDto in method private recursivelyProcessComponent(component Component, lastModule ComponentDto) : void in class org.sonar.server.computation.step.PersistComponentsStep.PersisComponent | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type sut : PersistComponentsAndSnapshotsStep to sut : PersistComponentsStep in class org.sonar.server.computation.step.PersistComponentsStepTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter componentDtosByKey : Map<String,ComponentDto> to existingComponentDtosByKey : Map<String,ComponentDto> in method public PersisComponent(dbSession DbSession, existingComponentDtosByKey Map<String,ComponentDto>, reportReader BatchReportReader) in class org.sonar.server.computation.step.PersistComponentsStep.PersisComponent | From | To |