8b7326e57d26c20733e6ce8cc6c67f6f5d0b3fef
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private checkPermission(userSession UserSession, projectKey String) : void renamed to private checkAdminOnProject(projectKey String) : void in class org.sonar.server.qualityprofile.QProfileProjectOperations | From | To | |
Rename Method private findNotNull(key String, session DbSession) : QualityProfileDto renamed to public removeProject(dbSession DbSession, profileKey String, project ComponentDto) : void in class org.sonar.server.qualityprofile.QProfileProjectOperations | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type userSession : UserSession to dbClient : DbClient in method public RemoveProjectAction(projectAssociationParameters ProjectAssociationParameters, projectAssociationFinder ProjectAssociationFinder, profileProjectOperations QProfileProjectOperations, dbClient DbClient) in class org.sonar.server.qualityprofile.ws.RemoveProjectAction | From | To | |
Change Parameter Type userSession : UserSession to dbClient : DbClient in method public AddProjectAction(projectAssociationParameters ProjectAssociationParameters, profileProjectOperations QProfileProjectOperations, projectAssociationFinder ProjectAssociationFinder, dbClient DbClient) in class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To | |
Change Parameter Type componentService : ComponentService to componentFinder : ComponentFinder in method public ProjectAssociationFinder(profileLookup QProfileLookup, componentFinder ComponentFinder) in class org.sonar.server.qualityprofile.ws.ProjectAssociationFinder | From | To | |
Change Parameter Type key : String to dbSession : DbSession in method public removeProject(dbSession DbSession, profileKey String, project ComponentDto) : void in class org.sonar.server.qualityprofile.QProfileProjectOperations | From | To | |
Rename Variable | 2 | ||
Rename Variable projectUuid : String to project : ComponentDto in method public handle(request Request, response Response) : void in class org.sonar.server.qualityprofile.ws.RemoveProjectAction | From | To | |
Rename Variable projectUuid : String to project : ComponentDto in method public handle(request Request, response Response) : void in class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To | |
Change Return Type | 1 | ||
Change Return Type QualityProfileDto to void in method public removeProject(dbSession DbSession, profileKey String, project ComponentDto) : void in class org.sonar.server.qualityprofile.QProfileProjectOperations | From | To | |
Move Attribute | 2 | ||
Move Attribute private userSession : UserSession from class org.sonar.server.qualityprofile.ws.AddProjectAction to private userSession : UserSession from class org.sonar.server.qualityprofile.QProfileProjectOperations | From | To | |
Move Attribute private userSession : UserSession from class org.sonar.server.qualityprofile.ws.RemoveProjectAction to private userSession : UserSession from class org.sonar.server.qualityprofile.QProfileProjectOperations | From | To | |
Rename Attribute | 3 | ||
Rename Attribute userSession : UserSession to dbClient : DbClient in class org.sonar.server.qualityprofile.ws.RemoveProjectAction | From | To | |
Rename Attribute componentService : ComponentService to componentFinder : ComponentFinder in class org.sonar.server.qualityprofile.ws.ProjectAssociationFinder | From | To | |
Rename Attribute userSession : UserSession to dbClient : DbClient in class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To | |
Change Variable Type | 2 | ||
Change Variable Type projectUuid : String to project : ComponentDto in method public handle(request Request, response Response) : void in class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To | |
Change Variable Type projectUuid : String to project : ComponentDto in method public handle(request Request, response Response) : void in class org.sonar.server.qualityprofile.ws.RemoveProjectAction | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type userSession : UserSession to dbClient : DbClient in class org.sonar.server.qualityprofile.ws.RemoveProjectAction | From | To | |
Change Attribute Type componentService : ComponentService to componentFinder : ComponentFinder in class org.sonar.server.qualityprofile.ws.ProjectAssociationFinder | From | To | |
Change Attribute Type userSession : UserSession to dbClient : DbClient in class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To | |
Rename Parameter | 6 | ||
Rename Parameter userSession : UserSession to dbClient : DbClient in method public AddProjectAction(projectAssociationParameters ProjectAssociationParameters, profileProjectOperations QProfileProjectOperations, projectAssociationFinder ProjectAssociationFinder, dbClient DbClient) in class org.sonar.server.qualityprofile.ws.AddProjectAction | From | To | |
Rename Parameter session : DbSession to dbSession : DbSession in method public removeProject(dbSession DbSession, profileKey String, project ComponentDto) : void in class org.sonar.server.qualityprofile.QProfileProjectOperations | From | To | |
Rename Parameter userSession : UserSession to dbClient : DbClient in method public RemoveProjectAction(projectAssociationParameters ProjectAssociationParameters, projectAssociationFinder ProjectAssociationFinder, profileProjectOperations QProfileProjectOperations, dbClient DbClient) in class org.sonar.server.qualityprofile.ws.RemoveProjectAction | From | To | |
Rename Parameter key : String to profileKey : String in method public removeProject(dbSession DbSession, profileKey String, project ComponentDto) : void in class org.sonar.server.qualityprofile.QProfileProjectOperations | From | To | |
Rename Parameter componentService : ComponentService to componentFinder : ComponentFinder in method public ProjectAssociationFinder(profileLookup QProfileLookup, componentFinder ComponentFinder) in class org.sonar.server.qualityprofile.ws.ProjectAssociationFinder | From | To | |
Rename Parameter key : String to dbSession : DbSession in method public removeProject(dbSession DbSession, profileKey String, project ComponentDto) : void in class org.sonar.server.qualityprofile.QProfileProjectOperations | From | To |