e2d2765f41bfa4bea1d0f19e754acd0c70cf2d36
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public fail_when_name_parameter_match_existing_quality_gate() : void renamed to public fail_when_name_parameter_match_existing_quality_gate_in_the_same_organization() : void in class org.sonar.server.qualitygate.ws.CopyActionTest | From | To | |
Rename Variable | 2 | ||
Rename Variable result : QualityGateDto to copy : QualityGateDto in method public handle(request Request, response Response) : void in class org.sonar.server.qualitygate.ws.CopyAction | From | To | |
Rename Variable result : QualityGate to response : QualityGate in method public response_contains_quality_gate() : void in class org.sonar.server.qualitygate.ws.CopyActionTest | From | To | |
Inline Method | 1 | ||
Inline Method private doCopy(id Long, destinationName String) : QualityGateDto inlined to public handle(request Request, response Response) : void in class org.sonar.server.qualitygate.ws.CopyAction | From | To | |
Rename Attribute | 1 | ||
Rename Attribute organizationProvider : DefaultOrganizationProvider to wsSupport : QualityGatesWsSupport in class org.sonar.server.qualitygate.ws.CopyAction | From | To | |
Change Variable Type | 4 | ||
Change Variable Type qualityGate : QualityGateDto to qualityGate : QGateWithOrgDto in method public copy_of_builtin_should_not_be_builtin() : void in class org.sonar.server.qualitygate.ws.CopyActionTest | From | To | |
Change Variable Type actual : QualityGateDto to actual : QGateWithOrgDto in method public copy() : void in class org.sonar.server.qualitygate.ws.CopyActionTest | From | To | |
Change Variable Type qualityGate : QualityGateDto to qualityGate : QGateWithOrgDto in method public copy() : void in class org.sonar.server.qualitygate.ws.CopyActionTest | From | To | |
Change Variable Type qualityGate : QualityGateDto to qualityGate : QGateWithOrgDto in method public fail_when_missing_administer_quality_gate_permission() : void in class org.sonar.server.qualitygate.ws.CopyActionTest | From | To | |
Extract Variable | 1 | ||
Extract Variable name : String in method public handle(request Request, response Response) : void from class org.sonar.server.qualitygate.ws.CreateAction | From | To | |
Split Variable | 1 | ||
Split Variable qualityGateDto : QualityGateDto to [organization : OrganizationDto, qualityGate : QualityGateDto] in method public handle(request Request, response Response) : void in class org.sonar.server.qualitygate.ws.CopyAction | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type organizationProvider : DefaultOrganizationProvider to wsSupport : QualityGatesWsSupport in class org.sonar.server.qualitygate.ws.CopyAction | From | To |