59735ceddd04e235ed58050e93f6a7f7ad919d54
Files Diff
- Added: 6
- Removed: 6
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public shouldPurgeSnapshot() : void renamed to public shouldPurgeAnalysis() : void in class org.sonar.db.purge.PurgeCommandsTest | From | To | |
Rename Method public delete_wasted_measures_when_purging_snapshot() : void renamed to public delete_wasted_measures_when_purging_analysis() : void in class org.sonar.db.purge.PurgeCommandsTest | From | To | |
Rename Method public should_not_fail_when_purging_huge_number_of_snapshots() : void renamed to public should_not_fail_when_purging_huge_number_of_analyses() : void in class org.sonar.db.purge.PurgeCommandsTest | From | To | |
Extract Variable | 1 | ||
Extract Variable rootUuid : String in method private deleteOldClosedIssues(conf PurgeConfiguration, mapper PurgeMapper, listener PurgeListener) : void from class org.sonar.db.purge.PurgeDao | From | To | |
Extract Method | 1 | ||
Extract Method private purgeAnalyses(commands PurgeCommands, rootUuid String) : void extracted from public purge(session DbSession, conf PurgeConfiguration, listener PurgeListener, profiler PurgeProfiler) : void in class org.sonar.db.purge.PurgeDao | From | To | |
Rename Parameter | 2 | ||
Rename Parameter purgeListener : PurgeListener to listener : PurgeListener in method private disableOrphanResources(rootUuid String, session SqlSession, mapper PurgeMapper, listener PurgeListener) : void in class org.sonar.db.purge.PurgeDao | From | To | |
Rename Parameter purgeMapper : PurgeMapper to mapper : PurgeMapper in method private disableOrphanResources(rootUuid String, session SqlSession, mapper PurgeMapper, listener PurgeListener) : void in class org.sonar.db.purge.PurgeDao | From | To |