f4a5e4e037a991e435b58afeedbe7bc5e639f9cb
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public selectUserPermissions(user UserDto, project ComponentDto) : Set<String> renamed to public selectProjectPermissionsOfUser(user UserDto, project ComponentDto) : List<String> in class org.sonar.db.user.UserDbTester | From | To | |
Rename Method private checkOtherAdminUsersExist(session DbSession, change PermissionChange) : void renamed to private checkOtherAdminsExist(dbSession DbSession, change UserPermissionChange) : void in class org.sonar.server.permission.UserPermissionChanger | From | To | |
Rename Method private shouldSkipChange(dbSession DbSession, change UserPermissionChange) : boolean renamed to private addPermission(dbSession DbSession, change UserPermissionChange) : boolean in class org.sonar.server.permission.UserPermissionChanger | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type change : PermissionChange to change : UserPermissionChange in method private checkOtherAdminsExist(dbSession DbSession, change UserPermissionChange) : void in class org.sonar.server.permission.UserPermissionChanger | From | To | |
Change Return Type | 1 | ||
Change Return Type Set<String> to List<String> in method public selectProjectPermissionsOfUser(user UserDto, project ComponentDto) : List<String> in class org.sonar.db.user.UserDbTester | From | To | |
Extract Method | 2 | ||
Extract Method private removePermission(dbSession DbSession, change UserPermissionChange) : boolean extracted from public apply(dbSession DbSession, change UserPermissionChange) : boolean in class org.sonar.server.permission.UserPermissionChanger | From | To | |
Extract Method private updateRootFlag(dbSession DbSession, change UserPermissionChange) : void extracted from public apply(dbSession DbSession, change UserPermissionChange) : boolean in class org.sonar.server.permission.UserPermissionChanger | From | To | |
Rename Parameter | 1 | ||
Rename Parameter session : DbSession to dbSession : DbSession in method private checkOtherAdminsExist(dbSession DbSession, change UserPermissionChange) : void in class org.sonar.server.permission.UserPermissionChanger | From | To |