556ba8154b2c6406b15cd4357cc74a06f3094e3a
Files Diff
- Added: 15
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Attribute | 1 | ||
Merge Attribute [PROJECT : String, PACKAGE : String, FILE : String] to PROJECT_ID : Long in class org.sonar.core.user.AuthorizationDaoTest | From | To | |
Rename Method | 3 | ||
Rename Method public check_component_permission_ko() : void renamed to public check_component_key_permission_ko() : void in class org.sonar.server.user.UserSessionTest | From | To | |
Rename Method public check_component_permission_ok() : void renamed to public check_component_key_permission_ok() : void in class org.sonar.server.user.UserSessionTest | From | To | |
Rename Method public check_component_permission_when_project_not_found() : void renamed to public check_component_key_permission_when_project_not_found() : void in class org.sonar.server.user.UserSessionTest | From | To | |
Inline Method | 1 | ||
Inline Method public keepAuthorizedComponentKeys(componentKeys Set<String>, userId Integer, role String) : Set<String> inlined to public isAuthorizedComponentKey(componentKey String, userId Integer, role String) : boolean in class org.sonar.core.user.AuthorizationDao | From | To | |
Change Variable Type | 5 | ||
Change Variable Type session : SqlSession to session : DbSession in method public isAuthorizedComponentKey(componentKey String, userId Integer, role String) : boolean in class org.sonar.core.user.AuthorizationDao | From | To | |
Change Variable Type componentIds : Set<String> to componentIds : Collection<Long> in method public user_should_be_authorized() : void in class org.sonar.core.user.AuthorizationDaoTest | From | To | |
Change Variable Type componentIds : Set<String> to componentIds : Collection<Long> in method public group_should_have_global_authorization() : void in class org.sonar.core.user.AuthorizationDaoTest | From | To | |
Change Variable Type componentIds : Set<String> to componentIds : Collection<Long> in method public anonymous_should_be_authorized() : void in class org.sonar.core.user.AuthorizationDaoTest | From | To | |
Change Variable Type componentIds : Set<String> to componentIds : Collection<Long> in method public group_should_be_authorized() : void in class org.sonar.core.user.AuthorizationDaoTest | From | To |