579871c5226580deb0cd539fd8d317836046e1ab
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public setPeriods(periods List<Measures.Period>) : Builder renamed to public setPeriod(period Measures.Period) : Builder in class org.sonar.server.measure.ws.ComponentTreeData.Builder | From | To | |
Rename Method package getPeriods() : List<Measures.Period> renamed to package getPeriod() : Measures.Period in class org.sonar.server.measure.ws.ComponentTreeData | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type periods : List<Measures.Period> to period : Measures.Period in method public setPeriod(period Measures.Period) : Builder in class org.sonar.server.measure.ws.ComponentTreeData.Builder | From | To | |
Change Parameter Type periods : List<Measures.Period> to period : Optional<Measures.Period> in method private buildResponse(request ComponentRequest, component ComponentDto, refComponent Optional<ComponentDto>, measures List<LiveMeasureDto>, metrics List<MetricDto>, period Optional<Measures.Period>) : ComponentWsResponse in class org.sonar.server.measure.ws.ComponentAction | From | To | |
Rename Variable | 1 | ||
Rename Variable periods : List<Measures.Period> to period : Optional<Measures.Period> in method private doHandle(request ComponentRequest) : ComponentWsResponse in class org.sonar.server.measure.ws.ComponentAction | From | To | |
Change Return Type | 2 | ||
Change Return Type List<Measures.Period> to Measures.Period in method package getPeriod() : Measures.Period in class org.sonar.server.measure.ws.ComponentTreeData | From | To | |
Change Return Type List<Measures.Period> to Optional<Measures.Period> in method package snapshotToWsPeriods(snapshot SnapshotDto) : Optional<Measures.Period> in class org.sonar.server.measure.ws.SnapshotDtoToWsPeriod | From | To | |
Rename Class | 1 | ||
Rename Class org.sonar.server.measure.ws.SnapshotDtoToWsPeriods renamed to org.sonar.server.measure.ws.SnapshotDtoToWsPeriod | From | To | |
Rename Attribute | 2 | ||
Rename Attribute periods : List<Measures.Period> to period : Measures.Period in class org.sonar.server.measure.ws.ComponentTreeData.Builder | From | To | |
Rename Attribute periods : List<Measures.Period> to period : Measures.Period in class org.sonar.server.measure.ws.ComponentTreeData | From | To | |
Change Variable Type | 1 | ||
Change Variable Type periods : List<Measures.Period> to period : Optional<Measures.Period> in method private doHandle(request ComponentRequest) : ComponentWsResponse in class org.sonar.server.measure.ws.ComponentAction | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type periods : List<Measures.Period> to period : Measures.Period in class org.sonar.server.measure.ws.ComponentTreeData.Builder | From | To | |
Change Attribute Type periods : List<Measures.Period> to period : Measures.Period in class org.sonar.server.measure.ws.ComponentTreeData | From | To | |
Rename Parameter | 2 | ||
Rename Parameter periods : List<Measures.Period> to period : Measures.Period in method public setPeriod(period Measures.Period) : Builder in class org.sonar.server.measure.ws.ComponentTreeData.Builder | From | To | |
Rename Parameter periods : List<Measures.Period> to period : Optional<Measures.Period> in method private buildResponse(request ComponentRequest, component ComponentDto, refComponent Optional<ComponentDto>, measures List<LiveMeasureDto>, metrics List<MetricDto>, period Optional<Measures.Period>) : ComponentWsResponse in class org.sonar.server.measure.ws.ComponentAction | From | To |