87dc6fc295c697d3d0c35dd37aa9742264863017
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 4 | ||
Rename Variable cause : SalesforceException to noSuchObject : NoSuchSObjectException in method public testStatus404() : void in class org.apache.camel.component.salesforce.RestApiIntegrationTest | From | To | |
Rename Variable cause : SalesforceException to badRequest : SalesforceException in method public testStatus400() : void in class org.apache.camel.component.salesforce.RestApiIntegrationTest | From | To | |
Rename Variable cause : SalesforceException to exception : SalesforceException in method public onComplete(result Result) : void in class org.apache.camel.component.salesforce.internal.client.AbstractClientBase.doHttpRequest.send | From | To | |
Rename Variable cause : SalesforceMultipleChoicesException to multipleChoices : SalesforceMultipleChoicesException in method public testStatus300() : void in class org.apache.camel.component.salesforce.RestApiIntegrationTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type cause : SalesforceException to noSuchObject : NoSuchSObjectException in method public testStatus404() : void in class org.apache.camel.component.salesforce.RestApiIntegrationTest | From | To | |
Extract Variable | 6 | ||
Extract Variable cause : Throwable in method public testStatus300() : void from class org.apache.camel.component.salesforce.RestApiIntegrationTest | From | To | |
Extract Variable configuration : SalesforceEndpointConfig in method public AbstractRestProcessor(endpoint SalesforceEndpoint) from class org.apache.camel.component.salesforce.internal.processor.AbstractRestProcessor | From | To | |
Extract Variable cause : Throwable in method public testStatus404() : void from class org.apache.camel.component.salesforce.RestApiIntegrationTest | From | To | |
Extract Variable out : Message in method protected processResponse(exchange Exchange, responseEntity InputStream, exception SalesforceException, callback AsyncCallback) : void from class org.apache.camel.component.salesforce.internal.processor.XmlRestProcessor | From | To | |
Extract Variable out : Message in method protected processResponse(exchange Exchange, responseEntity InputStream, ex SalesforceException, callback AsyncCallback) : void from class org.apache.camel.component.salesforce.internal.processor.JsonRestProcessor | From | To | |
Extract Variable cause : Throwable in method public testStatus400() : void from class org.apache.camel.component.salesforce.RestApiIntegrationTest | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method package readErrorsFrom(responseContent InputStream, format PayloadFormat, objectMapper ObjectMapper, xStream XStream) : List<RestError> extracted from protected createRestException(response Response, responseContent InputStream) : SalesforceException in class org.apache.camel.component.salesforce.internal.client.DefaultRestClient & moved to class org.apache.camel.component.salesforce.internal.client.AbstractClientBase | From | To |