d965fca5ff557a3d2cab134435ce05b8d8ab5df1
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 3 | ||
Change Return Type List<Long> to Set<Long> in method public keepAuthorizedProjectIdsForUser(userId long, role String, componentIds Collection<Long>) : Set<Long> in class org.sonar.db.permission.AuthorizationMapper | From | To | |
Change Return Type List<Long> to Set<Long> in method public keepAuthorizedProjectIdsForAnonymous(role String, componentIds Collection<Long>) : Set<Long> in class org.sonar.db.permission.AuthorizationMapper | From | To | |
Change Return Type Collection<Long> to Set<Long> in method public keepAuthorizedProjectIds(dbSession DbSession, componentIds Collection<Long>, userId Integer, role String) : Set<Long> in class org.sonar.db.permission.AuthorizationDao | From | To | |
Change Variable Type | 1 | ||
Change Variable Type authorizedProjectIds : Collection<Long> to authorizedProjectIds : Set<Long> in method private getAuthorizedProjects(projectDtos List<ComponentDto>) : List<ComponentDto> in class org.sonar.server.measure.ws.SearchAction.ResponseBuilder | From | To | |
Extract Method | 1 | ||
Extract Method private executeLargeInputs(input Collection<INPUT>, function Function<List<INPUT>,RESULT>, outputInitializer Function<Integer,RESULT>) : RESULT extracted from public executeLargeInputs(input Collection<INPUT>, function Function<List<INPUT>,List<OUTPUT>>) : List<OUTPUT> in class org.sonar.db.DatabaseUtils | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public executeLargeInputsIntoSet(input Collection<INPUT>, function Function<List<INPUT>,Set<OUTPUT>>) : Set<OUTPUT> extracted from public keepAuthorizedProjectIds(dbSession DbSession, componentIds Collection<Long>, userId Integer, role String) : Collection<Long> in class org.sonar.db.permission.AuthorizationDao & moved to class org.sonar.db.DatabaseUtils | From | To |