a3aa1505a13938c766cb40fb74e8c7532e5dfb34
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public getUrl() : String renamed to public getEndpoint() : String in class org.sonarqube.ws.client.WsRequest | From | To | |
| Move And Rename Method | 1 | ||
| Move And Rename Method public builder() : Builder from class org.sonarqube.ws.client.WsClient to public newHttpConnector() : Builder from class org.sonarqube.ws.client.HttpConnector | From | To | |
| Change Return Type | 1 | ||
| Change Return Type WsClient to HttpConnector in method public build() : HttpConnector in class org.sonarqube.ws.client.HttpConnector.Builder | From | To | |
| Move Attribute | 3 | ||
| Move Attribute package requestFactory : HttpRequestFactory from class org.sonarqube.ws.client.WsClient to package requestFactory : HttpRequestFactory from class org.sonarqube.ws.client.HttpConnector | From | To | |
| Move Attribute public DEFAULT_READ_TIMEOUT_MILLISECONDS : int from class org.sonarqube.ws.client.WsClient to public DEFAULT_READ_TIMEOUT_MILLISECONDS : int from class org.sonarqube.ws.client.HttpConnector | From | To | |
| Move Attribute public DEFAULT_CONNECT_TIMEOUT_MILLISECONDS : int from class org.sonarqube.ws.client.WsClient to public DEFAULT_CONNECT_TIMEOUT_MILLISECONDS : int from class org.sonarqube.ws.client.HttpConnector | From | To | |
| Extract Class | 1 | ||
| Extract Class org.sonarqube.ws.client.HttpConnector from class org.sonarqube.ws.client.WsClient | From | To | |
| Move Class | 1 | ||
| Move Class org.sonarqube.ws.client.WsClient.Builder moved to org.sonarqube.ws.client.HttpConnector.Builder | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute requestFactory : HttpRequestFactory to wsConnector : WsConnector in class org.sonarqube.ws.client.WsClient | From | To | |
| Rename Attribute url : String to endpoint : String in class org.sonarqube.ws.client.WsRequest | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type requestFactory : HttpRequestFactory to wsConnector : WsConnector in class org.sonarqube.ws.client.WsClient | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter url : String to endpoint : String in method private WsRequest(endpoint String) in class org.sonarqube.ws.client.WsRequest | From | To |