776546129617641fc10a3bc70c2a346b4389d0b2
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method package selectAfterDate(dbClient DbClient, session DbSession, afterDate long) : Collection<Dto> renamed to private doSelectAfterDate(dbClient DbClient, session DbSession, projectUuids List<String>) : List<Dto> in class org.sonar.server.permission.index.AuthorizationDao | From | To | |
Rename Method public verifyProjectAuthorization(projectUuid String, groupNames List<String>, userLogins List<String>) : void renamed to public verifyProjectExistsWithAuthorization(projectUuid String, groupNames List<String>, userLogins List<String>) : void in class org.sonar.server.permission.index.AuthorizationIndexerTester | From | To | |
Rename Method public verifyProjectAsNoAuthorization(projectUuid String) : void renamed to public verifyProjectExistsWithoutAuthorization(projectUuid String) : void in class org.sonar.server.permission.index.AuthorizationIndexerTester | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type afterDate : long to projectUuids : List<String> in method private doSelectAfterDate(dbClient DbClient, session DbSession, projectUuids List<String>) : List<Dto> in class org.sonar.server.permission.index.AuthorizationDao | From | To | |
Change Return Type | 1 | ||
Change Return Type Collection<Dto> to List<Dto> in method private doSelectAfterDate(dbClient DbClient, session DbSession, projectUuids List<String>) : List<Dto> in class org.sonar.server.permission.index.AuthorizationDao | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute user : UserDto to user1 : UserDto in method public no_authorization() : void in class org.sonar.server.permission.index.AuthorizationDaoTest | From | To | |
Extract Method | 3 | ||
Extract Method private insertTestDataForProject1And2() : void extracted from public select_all() : void in class org.sonar.server.permission.index.AuthorizationDaoTest | From | To | |
Extract Method private doIndex(bulk BulkIndexer, projectUuids List<String>) : long extracted from protected doIndex(lastUpdatedAt long) : long in class org.sonar.server.permission.index.AuthorizationIndexer | From | To | |
Extract Method private createBulkIndexer() : BulkIndexer extracted from protected doIndex(lastUpdatedAt long) : long in class org.sonar.server.permission.index.AuthorizationIndexer | From | To | |
Rename Parameter | 1 | ||
Rename Parameter afterDate : long to projectUuids : List<String> in method private doSelectAfterDate(dbClient DbClient, session DbSession, projectUuids List<String>) : List<Dto> in class org.sonar.server.permission.index.AuthorizationDao | From | To |