1de32aa4798f3246861214ec7f52bfc5f76fd0bb
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type wsRequest : Request to request : SearchWsRequest in method private buildQuery(request SearchWsRequest, qualifiers List<String>) : ComponentQuery in class org.sonar.server.component.ws.SearchAction | From | To | |
Change Parameter Type wsRequest : Request to request : SearchWsRequest in method private buildPaging(dbSession DbSession, request SearchWsRequest, query ComponentQuery) : Paging in class org.sonar.server.component.ws.SearchAction | From | To | |
Rename Variable | 1 | ||
Rename Variable response : WsSearchResponse to searchWsResponse : SearchWsResponse in method public handle(wsRequest Request, wsResponse Response) : void in class org.sonar.server.component.ws.SearchAction | From | To | |
Change Return Type | 2 | ||
Change Return Type WsSearchResponse to SearchWsResponse in method private buildResponse(components List<ComponentDto>, paging Paging) : SearchWsResponse in class org.sonar.server.component.ws.SearchAction | From | To | |
Change Return Type WsSearchResponse.Component to WsComponents.SearchWsResponse.Component in method public apply(dto ComponentDto) : WsComponents.SearchWsResponse.Component in class org.sonar.server.component.ws.SearchAction.ComponentDToComponentResponseFunction | From | To | |
Change Variable Type | 5 | ||
Change Variable Type response : WsSearchResponse to searchWsResponse : SearchWsResponse in method public handle(wsRequest Request, wsResponse Response) : void in class org.sonar.server.component.ws.SearchAction | From | To | |
Change Variable Type response : WsSearchResponse to response : SearchWsResponse in method public search_with_pagination() : void in class org.sonar.server.component.ws.SearchActionTest | From | To | |
Change Variable Type response : WsComponents.WsSearchResponse to response : WsComponents.SearchWsResponse in method public return_protobuf_response() : void in class org.sonarqube.ws.client.WsClientTest | From | To | |
Change Variable Type responseBuilder : WsSearchResponse.Builder to responseBuilder : WsComponents.SearchWsResponse.Builder in method private buildResponse(components List<ComponentDto>, paging Paging) : SearchWsResponse in class org.sonar.server.component.ws.SearchAction | From | To | |
Change Variable Type response : WsSearchResponse to response : SearchWsResponse in method public search_with_key_query() : void in class org.sonar.server.component.ws.SearchActionTest | From | To | |
Extract Method | 1 | ||
Extract Method private doHandle(request SearchWsRequest) : SearchWsResponse extracted from public handle(wsRequest Request, wsResponse Response) : void in class org.sonar.server.component.ws.SearchAction | From | To | |
Rename Parameter | 2 | ||
Rename Parameter wsRequest : Request to request : SearchWsRequest in method private buildQuery(request SearchWsRequest, qualifiers List<String>) : ComponentQuery in class org.sonar.server.component.ws.SearchAction | From | To | |
Rename Parameter wsRequest : Request to request : SearchWsRequest in method private buildPaging(dbSession DbSession, request SearchWsRequest, query ComponentQuery) : Paging in class org.sonar.server.component.ws.SearchAction | From | To |