f8176cf53cd19d154cb6c77bc9976f069bc54ae2
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private hasAdminPermission(user WsUsers.CreateWsResponse.User, organization Organization, project Project) : boolean renamed to private hasBrowsePermission(user CreateWsResponse.User, organization Organization, project Project) : boolean in class org.sonarqube.tests.authorisation.PermissionTemplateTest | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type user : WsUsers.CreateWsResponse.User to user : CreateWsResponse.User in method private assertThatUserHasPermission(user CreateWsResponse.User, organization Organization, project Project) : void in class org.sonarqube.tests.authorisation.PermissionTemplateTest | From | To | |
Change Parameter Type user : WsUsers.CreateWsResponse.User to user : CreateWsResponse.User in method private hasBrowsePermission(user CreateWsResponse.User, organization Organization, project Project) : boolean in class org.sonarqube.tests.authorisation.PermissionTemplateTest | From | To | |
Change Parameter Type user : WsUsers.CreateWsResponse.User to user : CreateWsResponse.User in method private assertThatUserDoesNotHavePermission(user CreateWsResponse.User, organization Organization, project Project) : void in class org.sonarqube.tests.authorisation.PermissionTemplateTest | From | To | |
Change Parameter Type user : WsUsers.CreateWsResponse.User to user : CreateWsResponse.User in method private createAndApplyTemplate(organization Organization, project Project, user CreateWsResponse.User) : void in class org.sonarqube.tests.authorisation.PermissionTemplateTest | From | To | |
Change Parameter Type user : WsUsers.CreateWsResponse.User to user : CreateWsResponse.User in method private userHasAccessToIndexedProject(user CreateWsResponse.User, organization Organization, project Project) : boolean in class org.sonarqube.tests.authorisation.PermissionTemplateTest | From | To | |
Rename Variable | 1 | ||
Rename Variable dbQuery : ComponentQuery.Builder to query : ComponentQuery.Builder in method private buildDbQuery(request BulkApplyTemplateWsRequest) : ComponentQuery in class org.sonar.server.permission.ws.template.BulkApplyTemplateAction | From | To | |
Change Variable Type | 4 | ||
Change Variable Type anotherUser : WsUsers.CreateWsResponse.User to anotherUser : CreateWsResponse.User in method public apply_permission_template_on_project() : void in class org.sonarqube.tests.authorisation.PermissionTemplateTest | From | To | |
Change Variable Type anotherUser : WsUsers.CreateWsResponse.User to anotherUser : CreateWsResponse.User in method public indexing_errors_are_recovered_when_applying_permission_template_on_project() : void in class org.sonarqube.tests.authorisation.PermissionTemplateTest | From | To | |
Change Variable Type user : WsUsers.CreateWsResponse.User to user : CreateWsResponse.User in method public apply_permission_template_on_project() : void in class org.sonarqube.tests.authorisation.PermissionTemplateTest | From | To | |
Change Variable Type user : WsUsers.CreateWsResponse.User to user : CreateWsResponse.User in method public indexing_errors_are_recovered_when_applying_permission_template_on_project() : void in class org.sonarqube.tests.authorisation.PermissionTemplateTest | From | To | |
Extract Method | 2 | ||
Extract Method private createPrivateProject(organization Organization) : Project extracted from public apply_permission_template_on_project() : void in class org.sonarqube.tests.authorisation.PermissionTemplateTest | From | To | |
Extract Method private createPrivateProject(organization Organization) : Project extracted from public indexing_errors_are_recovered_when_applying_permission_template_on_project() : void in class org.sonarqube.tests.authorisation.PermissionTemplateTest | From | To |