ef937b146a699cc85accbdf65973abcaf8fc8e0f
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public shouldNotAddFooterIfMissingProperties() : void renamed to public do_not_add_footer_when_properties_missing() : void in class org.sonar.server.issue.notification.NewIssuesEmailTemplateTest | From | To | |
Rename Method public countIssuesWithSeverity(severity String) : int renamed to public countForMetric(metric METRIC, label String) : int in class org.sonar.server.issue.notification.NewIssuesStatistics | From | To | |
Rename Method public shouldFormatCommentAdded() : void renamed to public format_email_with_no_assignees_tags_nor_components() : void in class org.sonar.server.issue.notification.NewIssuesEmailTemplateTest | From | To | |
Rename Method public size() : int renamed to public countForMetric(metric METRIC) : int in class org.sonar.server.issue.notification.NewIssuesStatistics | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type stats : NewIssuesNotification.Stats to stats : NewIssuesStatistics in method private sendNewIssuesStatistics(context ComputationContext, stats NewIssuesStatistics) : void in class org.sonar.server.computation.step.SendIssueNotificationsStep | From | To | |
Change Parameter Type stats : Stats to stats : NewIssuesStatistics in method public setStatistics(project Component, stats NewIssuesStatistics) : NewIssuesNotification in class org.sonar.server.issue.notification.NewIssuesNotification | From | To | |
Rename Variable | 2 | ||
Rename Variable newIssueStats : NewIssuesNotification.Stats to newIssuesStats : NewIssuesStatistics in method private doExecute(context ComputationContext) : void in class org.sonar.server.computation.step.SendIssueNotificationsStep | From | To | |
Rename Variable sb : StringBuilder to message : StringBuilder in method public format(notification Notification) : EmailMessage in class org.sonar.server.issue.notification.NewIssuesEmailTemplate | From | To | |
Extract Attribute | 1 | ||
Extract Attribute public FIELD_PROJECT_UUID : String in class org.sonar.server.issue.notification.NewIssuesEmailTemplate | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.sonar.server.issue.notification.NewIssuesNotification.Stats moved and renamed to org.sonar.server.issue.notification.NewIssuesStatistics | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable sb : StringBuilder to message : StringBuilder in method private appendSeverity(message StringBuilder, notification Notification) : void in class org.sonar.server.issue.notification.NewIssuesEmailTemplate | From | To | |
Rename Attribute | 1 | ||
Rename Attribute set : Multiset<String> to globalStatistics : Stats in class org.sonar.server.issue.notification.NewIssuesStatistics | From | To | |
Change Variable Type | 1 | ||
Change Variable Type newIssueStats : NewIssuesNotification.Stats to newIssuesStats : NewIssuesStatistics in method private doExecute(context ComputationContext) : void in class org.sonar.server.computation.step.SendIssueNotificationsStep | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type set : Multiset<String> to globalStatistics : Stats in class org.sonar.server.issue.notification.NewIssuesStatistics | From | To | |
Extract Method | 1 | ||
Extract Method private appendSeverity(message StringBuilder, notification Notification) : void extracted from public format(notification Notification) : EmailMessage in class org.sonar.server.issue.notification.NewIssuesEmailTemplate | From | To | |
Rename Parameter | 2 | ||
Rename Parameter sb : StringBuilder to message : StringBuilder in method private appendFooter(message StringBuilder, notification Notification) : void in class org.sonar.server.issue.notification.NewIssuesEmailTemplate | From | To | |
Rename Parameter severity : String to label : String in method public countForMetric(metric METRIC, label String) : int in class org.sonar.server.issue.notification.NewIssuesStatistics | From | To |