9974dee49c30039d9c61d2e67b476f8beaea5959
Files Diff
- Added: 0
- Removed: 8
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 1 | ||
Move And Inline Method public update(templateId Long, templateName String, description String, projectPattern String) : void moved from class org.sonar.db.permission.template.PermissionTemplateDao to class org.sonar.db.permission.template.PermissionTemplateDaoTest & inlined to public should_update_permission_template() : void | From | To | |
Change Return Type | 4 | ||
Change Return Type List<GroupWithPermissionDto> to List<String> in method private selectProjectPermissionGroups(project ComponentDto, permission String) : List<String> in class org.sonar.server.permission.ws.template.ApplyTemplateActionTest | From | To | |
Change Return Type List<UserWithPermissionDto> to List<String> in method private selectProjectPermissionUsers(project ComponentDto, permission String) : List<String> in class org.sonar.server.permission.ws.template.BulkApplyTemplateActionTest | From | To | |
Change Return Type List<UserWithPermissionDto> to List<String> in method private selectProjectPermissionUsers(project ComponentDto, permission String) : List<String> in class org.sonar.server.permission.ws.template.ApplyTemplateActionTest | From | To | |
Change Return Type List<GroupWithPermissionDto> to List<String> in method private selectProjectPermissionGroups(project ComponentDto, permission String) : List<String> in class org.sonar.server.permission.ws.template.BulkApplyTemplateActionTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type usersWithPermission : List<UserWithPermissionDto> to usersWithPermission : List<String> in method private isUserAlreadyAdded(dbSession DbSession, templateId long, userLogin String, permission String) : boolean in class org.sonar.server.permission.ws.template.AddUserToTemplateAction | From | To | |
Rename Parameter | 1 | ||
Rename Parameter userRoleDto : PermissionTemplateUserDto to dto : PermissionTemplateUserDto in method private addUserToTemplate(dto PermissionTemplateUserDto) : void in class org.sonar.server.permission.ws.TemplateUsersActionTest | From | To |