379c21e88c639d0622daa61fc0209c3d577f96a3
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type condId : long to condition : QualityGateConditionDto in method public updateCondition(dbSession DbSession, condition QualityGateConditionDto, metricKey String, operator String, warningThreshold String, errorThreshold String, period Integer) : QualityGateConditionDto in class org.sonar.server.qualitygate.QualityGateConditionsUpdater | From | To | |
Rename Variable | 1 | ||
Rename Variable condition : QualityGateConditionDto to updatedCondition : QualityGateConditionDto in method public handle(request Request, response Response) : void in class org.sonar.server.qualitygate.ws.UpdateConditionAction | From | To | |
Rename Attribute | 1 | ||
Rename Attribute userSession : UserSession to wsSupport : QualityGatesWsSupport in class org.sonar.server.qualitygate.ws.UpdateConditionAction | From | To | |
Extract Method | 6 | ||
Extract Method private insertMetric() : MetricDto extracted from public throw_ForbiddenException_if_not_gate_administrator_of_default_organization() : void in class org.sonar.server.qualitygate.ws.UpdateConditionActionTest | From | To | |
Extract Method private insertMetric() : MetricDto extracted from public update_error_condition() : void in class org.sonar.server.qualitygate.ws.UpdateConditionActionTest | From | To | |
Extract Method private insertMetric() : MetricDto extracted from public update_condition_over_leak_period() : void in class org.sonar.server.qualitygate.ws.UpdateConditionActionTest | From | To | |
Extract Method private insertMetric() : MetricDto extracted from public throw_ForbiddenException_if_not_gate_administrator() : void in class org.sonar.server.qualitygate.ws.UpdateConditionActionTest | From | To | |
Extract Method private insertMetric() : MetricDto extracted from public test_response() : void in class org.sonar.server.qualitygate.ws.UpdateConditionActionTest | From | To | |
Extract Method private insertMetric() : MetricDto extracted from public update_warning_condition() : void in class org.sonar.server.qualitygate.ws.UpdateConditionActionTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type userSession : UserSession to wsSupport : QualityGatesWsSupport in class org.sonar.server.qualitygate.ws.UpdateConditionAction | From | To | |
Rename Parameter | 1 | ||
Rename Parameter condId : long to condition : QualityGateConditionDto in method public updateCondition(dbSession DbSession, condition QualityGateConditionDto, metricKey String, operator String, warningThreshold String, errorThreshold String, period Integer) : QualityGateConditionDto in class org.sonar.server.qualitygate.QualityGateConditionsUpdater | From | To |