abb3b3611c0fb9fb092847b69052a8f7e2635362
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 39
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public process_project() : void renamed to public process_new_project() : void in class org.sonar.server.computation.ComputationServiceTest | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type projectId : long to projectKey : String in method public newProjectSettings(projectKey String) : Settings in class org.sonar.server.properties.ProjectSettingsFactory | From | To | |
Change Parameter Type project : ComponentDto to projectKey : String in method public ComputationContext(reportReader BatchReportReader, projectKey String) in class org.sonar.server.computation.ComputationContext | From | To | |
Change Parameter Type session : SqlSession to session : DbSession in method public selectProjectProperties(session DbSession, projectKey String) : List<PropertyDto> in class org.sonar.core.properties.PropertiesDao | From | To | |
Change Parameter Type project : Component to projectName : String in method public setStatistics(projectName String, stats NewIssuesStatistics.Stats) : NewIssuesNotification in class org.sonar.server.issue.notification.NewIssuesNotification | From | To | |
Extract Attribute | 12 | ||
Extract Attribute private PROJECT_KEY : String in class org.sonar.server.computation.step.PersistTestsStepTest | From | To | |
Extract Attribute private PROJECT_KEY : String in class org.sonar.server.computation.step.PersistEventsStepTest | From | To | |
Extract Attribute private PROJECT_KEY : String in class org.sonar.server.computation.step.PersistProjectLinksStepTest | From | To | |
Extract Attribute private PROJECT_UUID : String in class org.sonar.server.computation.step.SendIssueNotificationsStepTest | From | To | |
Extract Attribute private PROJECT_KEY : String in class org.sonar.server.computation.step.PersistFileSourcesStepTest | From | To | |
Extract Attribute private PROJECT_KEY : String in class org.sonar.server.computation.step.FeedComponentsCacheStepTest | From | To | |
Extract Attribute private PROJECT_KEY : String in class org.sonar.server.computation.step.ParseReportStepTest | From | To | |
Extract Attribute private PROJECT_KEY : String in class org.sonar.server.computation.step.PersistDuplicationsStepTest | From | To | |
Extract Attribute private PROJECT_KEY : String in class org.sonar.server.computation.step.PersistComponentsStepTest | From | To | |
Extract Attribute private PROJECT_KEY : String in class org.sonar.server.computation.step.IndexSourceLinesStepTest | From | To | |
Extract Attribute private PROJECT_KEY : String in class org.sonar.server.computation.step.PurgeDatastoresStepTest | From | To | |
Extract Attribute private PROJECT_KEY : String in class org.sonar.server.computation.step.IndexComponentsStepTest | From | To | |
Rename Attribute | 1 | ||
Rename Attribute project : ComponentDto to projectKey : String in class org.sonar.server.computation.ComputationContext | From | To | |
Change Variable Type | 1 | ||
Change Variable Type session : SqlSession to session : DbSession in method public selectProjectProperties(resourceKey String) : List<PropertyDto> in class org.sonar.core.properties.PropertiesDao | From | To | |
Split Parameter | 1 | ||
Split Parameter project : ComponentDto to [projectName : String, projectKey : String, projectUuid : String] in method public setProject(projectKey String, projectUuid String, projectName String) : NewIssuesNotification in class org.sonar.server.issue.notification.NewIssuesNotification | From | To | |
Extract Variable | 1 | ||
Extract Variable project : ComponentDto in method package saveIssue(session DbSession, issue DefaultIssue, context IssueChangeContext, comment String) : void from class org.sonar.server.issue.IssueService | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type project : ComponentDto to projectKey : String in class org.sonar.server.computation.ComputationContext | From | To | |
Rename Parameter | 4 | ||
Rename Parameter project : Component to projectName : String in method public setStatistics(projectName String, stats NewIssuesStatistics.Stats) : NewIssuesNotification in class org.sonar.server.issue.notification.NewIssuesNotification | From | To | |
Rename Parameter resourceKey : String to projectKey : String in method public selectProjectProperties(session DbSession, projectKey String) : List<PropertyDto> in class org.sonar.core.properties.PropertiesDao | From | To | |
Rename Parameter projectId : long to projectKey : String in method public newProjectSettings(projectKey String) : Settings in class org.sonar.server.properties.ProjectSettingsFactory | From | To | |
Rename Parameter project : ComponentDto to projectKey : String in method public ComputationContext(reportReader BatchReportReader, projectKey String) in class org.sonar.server.computation.ComputationContext | From | To |