9e32fa79bee373f2180a8ac5ce6d89b5db5e8839
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 7 | ||
Rename Method public initializeOnStartup_does_not_grant_access_to_anybody() : void renamed to public initializeOnStartup_does_not_grant_access_to_anybody_on_private_project() : void in class org.sonar.server.permission.index.PermissionIndexerTest | From | To | |
Rename Method private createAndIndexProject() : ComponentDto renamed to private createAndIndexPublicProject() : ComponentDto in class org.sonar.server.permission.index.PermissionIndexerTest | From | To | |
Rename Method private createAndIndexProject(org OrganizationDto) : ComponentDto renamed to private createAndIndexPublicProject(org OrganizationDto) : ComponentDto in class org.sonar.server.permission.index.PermissionIndexerTest | From | To | |
Rename Method public return_project_without_permission_if_no_authorization() : void renamed to public return_private_project_without_any_permission_when_no_permission_in_DB() : void in class org.sonar.server.permission.index.PermissionIndexerDaoTest | From | To | |
Rename Method public permissions_on_anyone_should_not_conflict_between_organizations() : void renamed to public public_projects_are_visible_to_any_body_which_ever_the_organization() : void in class org.sonar.server.permission.index.PermissionIndexerTest | From | To | |
Rename Method private newProject() : ComponentDto renamed to private newPublicProject() : ComponentDto in class org.sonar.server.issue.IssueServiceMediumTest | From | To | |
Rename Method public initializeOnStartup_grants_access_to_anyone() : void renamed to public initializeOnStartup_grants_access_to_anybody_on_view() : void in class org.sonar.server.permission.index.PermissionIndexerTest | From | To | |
Rename Variable | 1 | ||
Rename Variable projects : List<String> to projectUuids : List<String> in method public select_by_projects_with_high_number_of_projects() : void in class org.sonar.server.permission.index.PermissionIndexerDaoTest | From | To | |
Parameterize Variable | 2 | ||
Parameterize Variable view2Authorization : PermissionIndexerDao.Dto to view1Authorization : PermissionIndexerDao.Dto in method private isPublic(view1Authorization PermissionIndexerDao.Dto, qualifier String) : void in class org.sonar.server.permission.index.PermissionIndexerDaoTest | From | To | |
Rename Attribute | 1 | ||
Rename Attribute project2 : ComponentDto to privateProject2 : ComponentDto in class org.sonar.server.permission.index.PermissionIndexerDaoTest | From | To | |
Extract Variable | 2 | ||
Extract Variable response : SearchResponse in method public search(query IssueQuery, options SearchOptions) : SearchResult<IssueDoc> from class org.sonar.server.issue.index.IssueIndex | From | To | |
Extract Variable newIndex : int in method private populateProjectUuidPlaceholders(stmt PreparedStatement, projectUuids List<String>, index int) : int from class org.sonar.server.permission.index.PermissionIndexerDao | From | To | |
Extract Method | 7 | ||
Extract Method private populateProjectUuidPlaceholders(stmt PreparedStatement, projectUuids List<String>, index int) : int extracted from private createStatement(dbClient DbClient, session DbSession, projectUuids List<String>) : PreparedStatement in class org.sonar.server.permission.index.PermissionIndexerDao | From | To | |
Extract Method private isPublic(view1Authorization PermissionIndexerDao.Dto, qualifier String) : void extracted from public selectByUuids() : void in class org.sonar.server.permission.index.PermissionIndexerDaoTest | From | To | |
Extract Method private isPublic(view1Authorization PermissionIndexerDao.Dto, qualifier String) : void extracted from public select_all() : void in class org.sonar.server.permission.index.PermissionIndexerDaoTest | From | To |