966ceab8329ba91c481c25deae55d7cf8266ee3d
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 26
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 4 | ||
Move And Rename Method public hasPages() : boolean from class org.sonarqube.ws.Common.Paging to public hasSelected() : boolean from class org.sonarqube.ws.Permissions.GroupsResponse.Group | From | To | |
Move And Rename Method public hasPages() : boolean from class org.sonarqube.ws.Common.Paging.Builder to public hasSelected() : boolean from class org.sonarqube.ws.Permissions.GroupsResponse.Group | From | To | |
Move And Rename Method public setPages(value int) : Builder from class org.sonarqube.ws.Common.Paging.Builder to public setSelected(value boolean) : Builder from class org.sonarqube.ws.Permissions.GroupsResponse.Group.Builder | From | To | |
Move And Rename Method public clearPages() : Builder from class org.sonarqube.ws.Common.Paging.Builder to public clearSelected() : Builder from class org.sonarqube.ws.Permissions.GroupsResponse.Group.Builder | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type value : int to value : boolean in method public setSelected(value boolean) : Builder in class org.sonarqube.ws.Permissions.GroupsResponse.Group.Builder | From | To | |
Change Parameter Type hasMoreResults : boolean to total : int in method public GroupWithPermissionQueryResult(groups List<GroupWithPermission>, total int) in class org.sonar.server.permission.GroupWithPermissionQueryResult | From | To | |
Rename Attribute | 1 | ||
Rename Attribute dbTester : DbTester to db : DbTester in class org.sonar.db.permission.GroupWithPermissionDaoTest | From | To | |
Change Variable Type | 2 | ||
Change Variable Type session : SqlSession to session : DbSession in method public selectGroups(query PermissionQuery, componentId Long) : List<GroupWithPermissionDto> in class org.sonar.db.permission.PermissionDao | From | To | |
Change Variable Type session : SqlSession to session : DbSession in method public selectGroups(query PermissionQuery, templateId Long) : List<GroupWithPermissionDto> in class org.sonar.db.permission.PermissionTemplateDao | From | To | |
Extract Method | 4 | ||
Extract Method public selectGroups(session DbSession, query PermissionQuery, templateId Long) : List<GroupWithPermissionDto> extracted from public selectGroups(query PermissionQuery, templateId Long) : List<GroupWithPermissionDto> in class org.sonar.db.permission.PermissionTemplateDao | From | To | |
Extract Method private groupsParameters(query PermissionQuery, componentId Long) : Map<String,Object> extracted from public selectGroups(query PermissionQuery, componentId Long) : List<GroupWithPermissionDto> in class org.sonar.db.permission.PermissionDao | From | To | |
Extract Method private groupsParamaters(query PermissionQuery, templateId Long) : Map<String,Object> extracted from public selectGroups(query PermissionQuery, templateId Long) : List<GroupWithPermissionDto> in class org.sonar.db.permission.PermissionTemplateDao | From | To | |
Extract Method public selectGroups(session DbSession, query PermissionQuery, componentId Long) : List<GroupWithPermissionDto> extracted from public selectGroups(query PermissionQuery, componentId Long) : List<GroupWithPermissionDto> in class org.sonar.db.permission.PermissionDao | From | To | |
Rename Parameter | 1 | ||
Rename Parameter hasMoreResults : boolean to total : int in method public GroupWithPermissionQueryResult(groups List<GroupWithPermission>, total int) in class org.sonar.server.permission.GroupWithPermissionQueryResult | From | To |