5e64ca5fddc0bd72831283b2f27f740dc43bbb00
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 25
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 6 | ||
Rename Method public deleteProfile(qualityProfileKey String) : void renamed to public deleteByProfileKeys(profileKeys Collection<String>) : void in class org.sonar.server.qualityprofile.index.ActiveRuleIndexer | From | To | |
Rename Method public delete(session DbSession, key String, force boolean) : List<ActiveRuleChange> renamed to public deleteTree(session DbSession, key String, force boolean) : List<ActiveRuleChange> in class org.sonar.server.qualityprofile.QProfileFactory | From | To | |
Rename Method public delete_profile() : void renamed to public deleteByProfileKeys_deletes_documents_associated_to_specified_profile() : void in class org.sonar.server.qualityprofile.index.ActiveRuleIndexerTest | From | To | |
Rename Method public does_not_fail_when_active_rule_does_not_exist() : void renamed to public delete_does_not_fail_when_active_rule_does_not_exist() : void in class org.sonar.db.qualityprofile.ActiveRuleDaoTest | From | To | |
Rename Method public delete_param() : void renamed to public deleteParam_deletes_rows_by_id() : void in class org.sonar.db.qualityprofile.ActiveRuleDaoTest | From | To | |
Rename Method public delete_param_by_key_and_name() : void renamed to public deleteParamByKeyAndName_deletes_rows_by_key_and_name() : void in class org.sonar.db.qualityprofile.ActiveRuleDaoTest | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type qualityProfileKey : String to profileKeys : Collection<String> in method public deleteByProfileKeys(profileKeys Collection<String>) : void in class org.sonar.server.qualityprofile.index.ActiveRuleIndexer | From | To | |
Rename Variable | 1 | ||
Rename Variable activeRuleParam1 : ActiveRuleParamDto to param : ActiveRuleParamDto in method public deleteParam_deletes_rows_by_id() : void in class org.sonar.db.qualityprofile.ActiveRuleDaoTest | From | To | |
Extract Method | 4 | ||
Extract Method private newRow(profile QualityProfileDto, rule RuleDto) : ActiveRuleDto extracted from public delete_param() : void in class org.sonar.db.qualityprofile.ActiveRuleDaoTest | From | To | |
Extract Method private mapper(dbSession DbSession) : QProfileChangeMapper extracted from public insert(dbSession DbSession, dto QProfileChangeDto) : void in class org.sonar.db.qualityprofile.QProfileChangeDao | From | To | |
Extract Method private mapper(dbSession DbSession) : QProfileChangeMapper extracted from public selectByQuery(dbSession DbSession, query QProfileChangeQuery) : List<QProfileChangeDto> in class org.sonar.db.qualityprofile.QProfileChangeDao | From | To | |
Extract Method private mapper(dbSession DbSession) : QProfileChangeMapper extracted from public countForProfileKey(dbSession DbSession, profileKey String) : int in class org.sonar.db.qualityprofile.QProfileChangeDao | From | To | |
Rename Parameter | 1 | ||
Rename Parameter qualityProfileKey : String to profileKeys : Collection<String> in method public deleteByProfileKeys(profileKeys Collection<String>) : void in class org.sonar.server.qualityprofile.index.ActiveRuleIndexer | From | To |