d6559bbf9c5174b218ff27cb0620d8909bdb2de2
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public grantDefaultRoles(session DbSession, componentId long, qualifier String) : void renamed to public applyDefaultPermissionTemplate(session DbSession, componentDto ComponentDto) : void in class org.sonar.db.permission.PermissionRepository | From | To | |
Rename Method public should_apply_permission_template() : void renamed to public apply_permission_template() : void in class org.sonar.db.permission.PermissionRepositoryTest | From | To | |
Extract Attribute | 3 | ||
Extract Attribute package NOW : long in class org.sonar.db.permission.PermissionRepositoryTest | From | To | |
Extract Attribute package PROJECT_ID : long in class org.sonar.db.permission.PermissionRepositoryTest | From | To | |
Extract Attribute package session : DbSession in class org.sonar.db.permission.PermissionRepositoryTest | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [qualifier : String, componentId : long] to componentDto : ComponentDto in method public applyDefaultPermissionTemplate(session DbSession, componentDto ComponentDto) : void in class org.sonar.db.permission.PermissionRepository | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable resource : ResourceDto to componentDto : ComponentDto in method public applyDefaultPermissionTemplate(session DbSession, componentDto ComponentDto) : void in class org.sonar.db.permission.PermissionRepository | From | To | |
Change Variable Type | 1 | ||
Change Variable Type resource : ResourceDto to componentDto : ComponentDto in method public applyDefaultPermissionTemplate(session DbSession, componentDto ComponentDto) : void in class org.sonar.db.permission.PermissionRepository | From | To | |
Extract Method | 1 | ||
Extract Method private checkAuthorizationUpdatedAtIsUpdated() : void extracted from public should_apply_permission_template() : void in class org.sonar.db.permission.PermissionRepositoryTest | From | To |