96651c2341184362a22b89fe7a8e24b2a23b4695
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method private getOrCreateUuid(component Component, uuidByComponentId Map<Long,String>) : String from class org.sonar.server.db.migrations.v50.PopulateProjectsUuidColumnsMigration to private getOrCreateUuid(component Component) : String from class org.sonar.server.db.migrations.v50.PopulateProjectsUuidColumnsMigration.MigrationContext | From | To | |
Move Method private updateComponent(component Component, project Component, componentsBySnapshotId Map<Long,Component>, uuidByComponentId Map<Long,String>) : void from class org.sonar.server.db.migrations.v50.PopulateProjectsUuidColumnsMigration to public updateComponent(component Component) : void from class org.sonar.server.db.migrations.v50.PopulateProjectsUuidColumnsMigration.MigrationContext | From | To | |
Extract Method | 1 | ||
Extract Method private saveComponent(writeSession DbSession, component Component) : void extracted from private migrateComponentsWithoutUuid(readSession DbSession, writeSession DbSession) : void in class org.sonar.server.db.migrations.v50.PopulateProjectsUuidColumnsMigration | From | To |