b75ef9230b1235a1cfc20e4dcf11101147c237e9
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Attribute | 1 | ||
Merge Attribute [dbSession : DbSession, metricDao : MetricDao] to db : DbTester in class org.sonar.server.metric.ws.DeleteActionTest | From | To | |
Rename Method | 2 | ||
Rename Method public do_not_delete_non_custom_metric() : void renamed to public does_not_delete_non_custom_metric() : void in class org.sonar.server.metric.ws.DeleteActionTest | From | To | |
Rename Method private insertCustomEnabledMetrics(ids int...) : void renamed to private insertCustomMetric(key String) : MetricDto in class org.sonar.server.metric.ws.DeleteActionTest | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type id : int to key : String in method private newCustomEnabledMetric(key String) : MetricDto in class org.sonar.server.metric.ws.DeleteActionTest | From | To | |
Change Parameter Type ids : int... to key : String in method private insertCustomMetric(key String) : MetricDto in class org.sonar.server.metric.ws.DeleteActionTest | From | To | |
Rename Variable | 1 | ||
Rename Variable result : WsTester.Result to response : TestResponse in method public delete_by_id() : void in class org.sonar.server.metric.ws.DeleteActionTest | From | To | |
Change Return Type | 2 | ||
Change Return Type WsTester.TestRequest to TestRequest in method private newRequest() : TestRequest in class org.sonar.server.metric.ws.DeleteActionTest | From | To | |
Change Return Type void to MetricDto in method private insertCustomMetric(key String) : MetricDto in class org.sonar.server.metric.ws.DeleteActionTest | From | To | |
Extract Variable | 1 | ||
Extract Variable metricDto : MetricDto in method private insertCustomMetric(key String) : MetricDto from class org.sonar.server.metric.ws.DeleteActionTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type result : WsTester.Result to response : TestResponse in method public delete_by_id() : void in class org.sonar.server.metric.ws.DeleteActionTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type ws : WsTester to ws : WsActionTester in class org.sonar.server.metric.ws.DeleteActionTest | From | To | |
Rename Parameter | 2 | ||
Rename Parameter id : int to key : String in method private newCustomEnabledMetric(key String) : MetricDto in class org.sonar.server.metric.ws.DeleteActionTest | From | To | |
Rename Parameter ids : int... to key : String in method private insertCustomMetric(key String) : MetricDto in class org.sonar.server.metric.ws.DeleteActionTest | From | To |