f17394eeabd59f953b888154cd0ee3dc950aacb8
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 4 | ||
Move And Rename Method public fail_on_invalid_criteria() : void from class org.sonar.server.component.ws.ProjectMeasuresQueryFactoryTest to public fail_when_missing_value() : void from class org.sonar.server.component.ws.FilterParserTest | From | To | |
Move And Rename Method package toCriteria(filter String) : List<String> from class org.sonar.server.component.ws.ProjectMeasuresQueryFactory to public parse(filter String) : List<Criterion> from class org.sonar.server.component.ws.FilterParser | From | To | |
Move And Rename Method public fail_when_no_key() : void from class org.sonar.server.component.ws.ProjectMeasuresQueryFactoryTest to public fail_when_missing_value() : void from class org.sonar.server.component.ws.FilterParserTest | From | To | |
Move And Rename Method public fail_on_invalid_criteria_ignore_whitespaces() : void from class org.sonar.server.component.ws.ProjectMeasuresQueryFactoryTest to public fail_when_missing_value() : void from class org.sonar.server.component.ws.FilterParserTest | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type criteria : List<String> to criteria : List<FilterParser.Criterion> in method package newProjectMeasuresQuery(criteria List<FilterParser.Criterion>, projectUuids Set<String>) : ProjectMeasuresQuery in class org.sonar.server.component.ws.ProjectMeasuresQueryFactory | From | To | |
Move Method | 1 | ||
Move Method public search_is_case_insensitive() : void from class org.sonar.server.component.ws.ProjectMeasuresQueryFactoryTest to public search_is_case_insensitive() : void from class org.sonar.server.component.ws.FilterParserTest | From | To | |
Rename Variable | 1 | ||
Rename Variable query : ProjectMeasuresQuery to underTest : ProjectMeasuresQuery in method public create_query() : void in class org.sonar.server.component.ws.ProjectMeasuresQueryFactoryTest | From | To | |
Change Return Type | 1 | ||
Change Return Type List<String> to List<Criterion> in method public parse(filter String) : List<Criterion> in class org.sonar.server.component.ws.FilterParser | From | To | |
Move Attribute | 1 | ||
Move Attribute private CRITERIA_SPLITTER : Splitter from class org.sonar.server.component.ws.ProjectMeasuresQueryFactory to private CRITERIA_SPLITTER : Splitter from class org.sonar.server.component.ws.FilterParser | From | To |