4f3018eb093f9c2d5406df7674eb0e9a7b50e44c
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private addUserAgent(chain Interceptor.Chain) : Response renamed to private addHeaders(chain Interceptor.Chain) : Response in class org.sonarqube.ws.client.OkHttpClientBuilder | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type request : BaseRequest to request : BaseRequest<?> in method private completeUrlQueryParameters(request BaseRequest<?>, urlBuilder HttpUrl.Builder) : void in class org.sonarqube.ws.client.HttpConnector | From | To | |
Rename Variable | 1 | ||
Rename Variable reqBuilder : Request.Builder to okRequestBuilder : Request.Builder in method private post(postRequest PostRequest) : WsResponse in class org.sonarqube.ws.client.HttpConnector | From | To | |
Change Return Type | 1 | ||
Change Return Type OkHttpResponse to Response in method private doCall(client OkHttpClient, okRequest Request) : Response in class org.sonarqube.ws.client.HttpConnector | From | To | |
Move Attribute | 1 | ||
Move Attribute private credentials : String from class org.sonarqube.ws.client.HttpConnector to private credentials : String from class org.sonarqube.ws.client.OkHttpClientBuilder | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public setCredentials(credentials String) : void extracted from private HttpConnector(builder Builder) in class org.sonarqube.ws.client.HttpConnector & moved to class org.sonarqube.ws.client.OkHttpClientBuilder | From | To |