f6b9c4743a8f02f33e79c483867b3c4581c76563
Files Diff
- Added: 1
- Removed: 3
- Renamed: 0
- Modified: 15
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method private executeRequest(project ComponentDto, qualityProfile QualityProfileDto) : void renamed to private call(project ComponentDto, qualityProfile QualityProfileDto) : TestResponse in class org.sonar.server.qualityprofile.ws.AddProjectActionTest | From | To | |
| Rename Method private setUserAsQualityProfileAdmin() : void renamed to private logInAsProfileAdmin(organization OrganizationDto) : void in class org.sonar.server.qualityprofile.ws.AddProjectActionTest | From | To | |
| Rename Method public add_project() : void renamed to private assertProjectIsNotAssociatedToProfile(project ComponentDto, profile QualityProfileDto) : void in class org.sonar.server.qualityprofile.ws.AddProjectActionTest | From | To | |
| Move And Rename Method | 1 | ||
| Move And Rename Method private checkAdminOnProject(project ComponentDto) : void from class org.sonar.server.qualityprofile.QProfileProjectOperations to private checkAdministrator(project ComponentDto) : void from class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type projectAssociationFinder : ProjectAssociationFinder to languages : Languages in method public AddProjectAction(dbClient DbClient, userSession UserSession, languages Languages, componentFinder ComponentFinder, wsSupport QProfileWsSupport) in class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To | |
| Inline Method | 1 | ||
| Inline Method private assertProjectIsAssociatedToProfile(projectKey String, language String, expectedProfileKey String) : void inlined to private assertProjectIsNotAssociatedToProfile(project ComponentDto, profile QualityProfileDto) : void in class org.sonar.server.qualityprofile.ws.AddProjectActionTest | From | To | |
| Change Return Type | 1 | ||
| Change Return Type void to TestResponse in method private call(project ComponentDto, qualityProfile QualityProfileDto) : TestResponse in class org.sonar.server.qualityprofile.ws.AddProjectActionTest | From | To | |
| Move Attribute | 6 | ||
| Move Attribute private languages : Languages from class org.sonar.server.qualityprofile.ws.ProjectAssociationParameters to private languages : Languages from class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To | |
| Move Attribute private languages : Languages from class org.sonar.server.qualityprofile.ws.ProjectAssociationParameters to private languages : Languages from class org.sonar.server.qualityprofile.ws.RemoveProjectAction | From | To | |
| Move Attribute private componentFinder : ComponentFinder from class org.sonar.server.qualityprofile.ws.ProjectAssociationFinder to private componentFinder : ComponentFinder from class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To | |
| Move Attribute private componentFinder : ComponentFinder from class org.sonar.server.qualityprofile.ws.ProjectAssociationFinder to private componentFinder : ComponentFinder from class org.sonar.server.qualityprofile.ws.RemoveProjectAction | From | To | |
| Move Attribute private userSession : UserSession from class org.sonar.server.qualityprofile.QProfileProjectOperations to private userSession : UserSession from class org.sonar.server.qualityprofile.ws.RemoveProjectAction | From | To | |
| Move Attribute private userSession : UserSession from class org.sonar.server.qualityprofile.QProfileProjectOperations to private userSession : UserSession from class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To | |
| Rename Attribute | 4 | ||
| Rename Attribute profileProjectOperations : QProfileProjectOperations to componentFinder : ComponentFinder in class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To | |
| Rename Attribute ws : WsActionTester to tester : WsActionTester in class org.sonar.server.qualityprofile.ws.AddProjectActionTest | From | To | |
| Rename Attribute profileProjectOperations : QProfileProjectOperations to wsSupport : QProfileWsSupport in class org.sonar.server.qualityprofile.ws.RemoveProjectAction | From | To | |
| Rename Attribute projectAssociationFinder : ProjectAssociationFinder to componentFinder : ComponentFinder in class org.sonar.server.qualityprofile.ws.RemoveProjectAction | From | To | |
| Change Attribute Type | 3 | ||
| Change Attribute Type profileProjectOperations : QProfileProjectOperations to componentFinder : ComponentFinder in class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To | |
| Change Attribute Type profileProjectOperations : QProfileProjectOperations to wsSupport : QProfileWsSupport in class org.sonar.server.qualityprofile.ws.RemoveProjectAction | From | To | |
| Change Attribute Type projectAssociationFinder : ProjectAssociationFinder to componentFinder : ComponentFinder in class org.sonar.server.qualityprofile.ws.RemoveProjectAction | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter create : NewAction to action : NewAction in method public createOrganizationParam(action NewAction) : NewParam in class org.sonar.server.qualityprofile.ws.QProfileWsSupport | From | To | |
| Rename Parameter projectAssociationFinder : ProjectAssociationFinder to languages : Languages in method public AddProjectAction(dbClient DbClient, userSession UserSession, languages Languages, componentFinder ComponentFinder, wsSupport QProfileWsSupport) in class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To |