a624a9cc04c37176e311c39cf250f5ff19e6cf42
Files Diff
- Added: 0
- Removed: 14
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public add_profile_to_notification() : void renamed to public add_profile_to_notification_for_added_rules() : void in class org.sonar.server.qualityprofile.BuiltInQualityProfilesNotificationSenderTest | From | To | |
Rename Method public notification_contains_list_of_quality_profiles() : void renamed to public notification_contains_list_of_new_rules() : void in class org.sonar.server.qualityprofile.BuiltInQualityProfilesNotificationTemplateTest | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type changedProfiles : List<QProfileName> to changedProfiles : Multimap<QProfileName,ActiveRuleChange> in method package send(changedProfiles Multimap<QProfileName,ActiveRuleChange>) : void in class org.sonar.server.qualityprofile.BuiltInQualityProfilesNotificationSender | From | To | |
Rename Variable | 1 | ||
Rename Variable profileNames : List<QProfileName> to profiles : Multimap<QProfileName,ActiveRuleChange> in method public add_profile_to_notification_for_added_rules() : void in class org.sonar.server.qualityprofile.BuiltInQualityProfilesNotificationSenderTest | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [profileName : String, language : String] to builder : Builder in method public Profile(builder Builder) in class org.sonar.server.qualityprofile.BuiltInQualityProfilesNotification.Profile | From | To | |
Change Variable Type | 5 | ||
Change Variable Type captor : ArgumentCaptor<List> to captor : ArgumentCaptor<Multimap> in method public send_notification_when_built_in_profile_contains_new_rule() : void in class org.sonar.server.qualityprofile.RegisterQualityProfilesNotificationTest | From | To | |
Change Variable Type updatedProfiles : List<QProfileName> to updatedProfiles : Multimap<QProfileName,ActiveRuleChange> in method public send_notification_when_built_in_profile_contains_new_rule() : void in class org.sonar.server.qualityprofile.RegisterQualityProfilesNotificationTest | From | To | |
Change Variable Type captor : ArgumentCaptor<List> to captor : ArgumentCaptor<Multimap> in method public only_send_one_notification_when_several_built_in_profiles_contain_new_rules() : void in class org.sonar.server.qualityprofile.RegisterQualityProfilesNotificationTest | From | To | |
Change Variable Type updatedProfiles : List<QProfileName> to updatedProfiles : Multimap<QProfileName,ActiveRuleChange> in method public only_send_one_notification_when_several_built_in_profiles_contain_new_rules() : void in class org.sonar.server.qualityprofile.RegisterQualityProfilesNotificationTest | From | To | |
Change Variable Type profileNames : List<QProfileName> to profiles : Multimap<QProfileName,ActiveRuleChange> in method public add_profile_to_notification_for_added_rules() : void in class org.sonar.server.qualityprofile.BuiltInQualityProfilesNotificationSenderTest | From | To | |
Extract Method | 7 | ||
Extract Method private addProfile(profiles Multimap<QProfileName,ActiveRuleChange>, languages Languages, type ActiveRuleChange.Type) : Tuple extracted from public add_profile_to_notification() : void in class org.sonar.server.qualityprofile.BuiltInQualityProfilesNotificationSenderTest | From | To | |
Extract Method private activateRule(profile RulesProfile, repo String, key String, severity RulePriority) : ActiveRule extracted from public createProfile(validation ValidationMessages) : RulesProfile in class org.sonar.foo.rule.FooBasicProfile | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public newBuilder(profileName String, language String) : Builder extracted from package send(changedProfiles List<QProfileName>) : void in class org.sonar.server.qualityprofile.BuiltInQualityProfilesNotificationSender & moved to class org.sonar.server.qualityprofile.BuiltInQualityProfilesNotification.Profile | From | To |