1d1e150dfa7f0b18aad76fe6616f25e53b130154
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 2
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Variable | 1 | ||
| Rename Variable metricDtoKeys : List<String> to dbMetricsKeys : Set<String> in method private checkMetricKeysExists(dbMetrics List<MetricDto>, inputMetricKeys Set<String>) : void in class org.sonar.server.component.ws.ProjectMeasuresQueryValidator | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable metricKeys : List<String> to inputMetricKeys : Set<String> in method private checkMetricKeysExists(dbMetrics List<MetricDto>, inputMetricKeys Set<String>) : void in class org.sonar.server.component.ws.ProjectMeasuresQueryValidator | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type metricDtoKeys : List<String> to dbMetricsKeys : Set<String> in method private checkMetricKeysExists(dbMetrics List<MetricDto>, inputMetricKeys Set<String>) : void in class org.sonar.server.component.ws.ProjectMeasuresQueryValidator | From | To | |
| Change Variable Type metricKeys : List<String> to inputMetricKeys : Set<String> in method private checkMetricKeysExists(dbMetrics List<MetricDto>, inputMetricKeys Set<String>) : void in class org.sonar.server.component.ws.ProjectMeasuresQueryValidator | From | To | |
| Extract Method | 3 | ||
| Extract Method private checkMetricKeysExists(dbMetrics List<MetricDto>, inputMetricKeys Set<String>) : void extracted from public validate(dbSession DbSession, query ProjectMeasuresQuery) : void in class org.sonar.server.component.ws.ProjectMeasuresQueryValidator | From | To | |
| Extract Method private insertMetrics(metricKeys String...) : void extracted from public filter_projects_with_query() : void in class org.sonar.server.component.ws.SearchProjectsActionTest | From | To | |
| Extract Method private insertMetrics(metricKeys String...) : void extracted from public return_loc_facet() : void in class org.sonar.server.component.ws.SearchProjectsActionTest | From | To |