027e5416b7556ccd3bccce80f91b93b5d1812f0a
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 16
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type componentsPerQualifiers : List<ComponentHitsPerQualifier> to componentsPerQualifiers : ComponentIndexResults in method private toCategories(componentsPerQualifiers ComponentIndexResults, recentlyBrowsedKeys Set<String>, favoriteKeys Set<String>, componentsByUuids Map<String,ComponentDto>, organizationByUuids Map<String,OrganizationDto>, projectsByUuids Map<String,ComponentDto>) : List<Category> in class org.sonar.server.component.ws.SuggestionsAction | From | To | |
Change Parameter Type componentsPerQualifiers : List<ComponentHitsPerQualifier> to componentsPerQualifiers : ComponentIndexResults in method private toResponse(componentsPerQualifiers ComponentIndexResults, recentlyBrowsedKeys Set<String>, favoriteKeys Set<String>, warning String) : SuggestionsWsResponse in class org.sonar.server.component.ws.SuggestionsAction | From | To | |
Move Method | 1 | ||
Move Method public define_app_action() : void from class org.sonar.server.component.ws.ComponentsWsTest to public define_app_action() : void from class org.sonar.server.component.ws.AppActionTest | From | To | |
Change Return Type | 5 | ||
Change Return Type List<ComponentHitsPerQualifier> to ComponentIndexResults in method package search(query ComponentIndexQuery, features ComponentTextSearchFeature...) : ComponentIndexResults in class org.sonar.server.component.index.ComponentIndex | From | To | |
Change Return Type List<ComponentHitsPerQualifier> to ComponentIndexResults in method private aggregationsToQualifiers(response SearchResponse) : ComponentIndexResults in class org.sonar.server.component.index.ComponentIndex | From | To | |
Change Return Type List<ComponentHitsPerQualifier> to ComponentIndexResults in method private getComponentsPerQualifiers(more String, queryBuilder ComponentIndexQuery.Builder) : ComponentIndexResults in class org.sonar.server.component.ws.SuggestionsAction | From | To | |
Change Return Type List<ComponentHitsPerQualifier> to ComponentIndexResults in method private searchInIndex(componentIndexQuery ComponentIndexQuery) : ComponentIndexResults in class org.sonar.server.component.ws.SuggestionsAction | From | To | |
Change Return Type List<ComponentHitsPerQualifier> to ComponentIndexResults in method public search(query ComponentIndexQuery) : ComponentIndexResults in class org.sonar.server.component.index.ComponentIndex | From | To | |
Change Variable Type | 5 | ||
Change Variable Type results : List<ComponentHitsPerQualifier> to results : Stream<ComponentHitsPerQualifier> in method private assertHighlighting(fileName String, search String, expectedHighlighting String) : void in class org.sonar.server.component.index.ComponentIndexHighlightTest | From | To | |
Change Variable Type request : WsTester.TestRequest to request : TestRequest in method public file_with_coverage() : void in class org.sonar.server.component.ws.AppActionTest | From | To | |
Change Variable Type componentsPerQualifiers : List<ComponentHitsPerQualifier> to componentsPerQualifiers : ComponentIndexResults in method public handle(wsRequest Request, wsResponse Response) : void in class org.sonar.server.component.ws.SuggestionsAction | From | To | |
Change Variable Type request : WsTester.TestRequest to request : TestRequest in method public file_without_measures() : void in class org.sonar.server.component.ws.AppActionTest | From | To | |
Change Variable Type request : WsTester.TestRequest to request : TestRequest in method public file_with_measures() : void in class org.sonar.server.component.ws.AppActionTest | From | To | |
Extract Method | 3 | ||
Extract Method private jsonAssert(request TestRequest, filename String) : void extracted from public file_with_coverage() : void in class org.sonar.server.component.ws.AppActionTest | From | To | |
Extract Method private jsonAssert(request TestRequest, filename String) : void extracted from public file_with_measures() : void in class org.sonar.server.component.ws.AppActionTest | From | To | |
Extract Method private jsonAssert(request TestRequest, filename String) : void extracted from public file_without_measures() : void in class org.sonar.server.component.ws.AppActionTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type wsTester : WsTester to wsTester : WsActionTester in class org.sonar.server.component.ws.AppActionTest | From | To |