8beb0aa8ad8e191f532ea3ada6941708ba844af6
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type batchComponent : BatchReport.Component to version : String in method private deletePreviousEventsHavingSameVersion(session DbSession, version String, component Component) : void in class org.sonar.server.computation.step.PersistEventsStep | From | To | |
Change Parameter Type reportReader : BatchReportReader to treeRootHolder : TreeRootHolder in method public SwitchSnapshotStep(dbClient DbClient, treeRootHolder TreeRootHolder, dbIdsRepository DbIdsRepository) in class org.sonar.server.computation.step.SwitchSnapshotStep | From | To | |
Rename Attribute | 1 | ||
Rename Attribute reportReader : BatchReportReader to treeRootHolder : TreeRootHolder in class org.sonar.server.computation.step.SwitchSnapshotStep | From | To | |
Extract Variable | 5 | ||
Extract Variable project : Component in method public execute() : void from class org.sonar.server.computation.step.PersistNumberOfDaysSinceLastCommitStep | From | To | |
Extract Variable version : String in method private saveVersionEvent(session DbSession, batchComponent BatchReport.Component, component Component, analysisDate Long) : void from class org.sonar.server.computation.step.PersistEventsStep | From | To | |
Extract Variable module : DumbComponent in method public persist_report_events_with_component_children() : void from class org.sonar.server.computation.step.PersistEventsStepTest | From | To | |
Extract Variable project : Component in method public keep_one_event_by_version() : void from class org.sonar.server.computation.step.PersistEventsStepTest | From | To | |
Extract Variable project : Component in method public create_version_event() : void from class org.sonar.server.computation.step.PersistEventsStepTest | From | To | |
Split Attribute | 1 | ||
Split Attribute reportReader : BatchReportReaderRule to [dbIdsRepository : DbIdsRepository, treeRootHolder : TreeRootHolderRule] in class org.sonar.server.computation.step.SwitchSnapshotStepTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type reportReader : BatchReportReader to treeRootHolder : TreeRootHolder in class org.sonar.server.computation.step.SwitchSnapshotStep | From | To | |
Rename Parameter | 2 | ||
Rename Parameter reportReader : BatchReportReader to treeRootHolder : TreeRootHolder in method public SwitchSnapshotStep(dbClient DbClient, treeRootHolder TreeRootHolder, dbIdsRepository DbIdsRepository) in class org.sonar.server.computation.step.SwitchSnapshotStep | From | To | |
Rename Parameter batchComponent : BatchReport.Component to version : String in method private deletePreviousEventsHavingSameVersion(session DbSession, version String, component Component) : void in class org.sonar.server.computation.step.PersistEventsStep | From | To |