ce86029bb906cb0db78c3b22f84c01aa2da2e587
Files Diff
- Added: 6
- Removed: 1
- Renamed: 0
- Modified: 9
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type allSchemas : Set<Object> to allSchemas : Set<JsonSchema> in method public getJsonSchemaString(mapper ObjectMapper, allSchemas Set<JsonSchema>, id String) : String in class org.apache.camel.component.salesforce.api.utils.JsonUtils | From | To | |
| Rename Variable | 1 | ||
| Rename Variable component : SalesforceComponent to salesforceComponent : SalesforceComponent in method protected doStart() : void in class org.apache.camel.component.salesforce.SalesforceConsumer | From | To | |
| Change Return Type | 1 | ||
| Change Return Type Set<Object> to Set<JsonSchema> in method public getSObjectJsonSchema(objectMapper ObjectMapper, description SObjectDescription, idPrefix String, addQuerySchema boolean) : Set<JsonSchema> in class org.apache.camel.component.salesforce.api.utils.JsonUtils | From | To | |
| Change Variable Type | 3 | ||
| Change Variable Type allSchemas : Set<Object> to allSchemas : Set<JsonSchema> in method public execute() : void in class org.apache.camel.maven.CamelSalesforceMojo | From | To | |
| Change Variable Type allSchemas : Set<Object> to allSchemas : Set<JsonSchema> in method public getSObjectJsonSchema(objectMapper ObjectMapper, description SObjectDescription, idPrefix String, addQuerySchema boolean) : Set<JsonSchema> in class org.apache.camel.component.salesforce.api.utils.JsonUtils | From | To | |
| Change Variable Type allSchemas : Set<Object> to allSchemas : Set<JsonSchema> in method public getBasicApiJsonSchema() : String in class org.apache.camel.component.salesforce.api.utils.JsonUtils | From | To | |
| Extract Variable | 1 | ||
| Extract Variable typeConverter : TypeConverter in method package setupHttpClient(httpClient SalesforceHttpClient, camelContext CamelContext, httpClientProperties Map<String,Object>) : SalesforceHttpClient from class org.apache.camel.component.salesforce.SalesforceComponent | From | To | |
| Extract Method | 3 | ||
| Extract Method package setupHttpClient(httpClient SalesforceHttpClient, camelContext CamelContext, httpClientProperties Map<String,Object>) : SalesforceHttpClient extracted from protected doStart() : void in class org.apache.camel.component.salesforce.SalesforceComponent | From | To | |
| Extract Method public getJsonSchemaAsSchema(allSchemas Set<JsonSchema>, id String) : JsonSchema extracted from public getJsonSchemaString(mapper ObjectMapper, allSchemas Set<Object>, id String) : String in class org.apache.camel.component.salesforce.api.utils.JsonUtils | From | To | |
| Extract Method package createHttpClient(sslContextFactory SslContextFactory) : SalesforceHttpClient extracted from protected doStart() : void in class org.apache.camel.component.salesforce.SalesforceComponent | From | To | |
| Extract And Move Method | 2 | ||
| Extract And Move Method package createRestClientFor(endpointConfig SalesforceEndpointConfig) : RestClient extracted from protected doStart() : void in class org.apache.camel.component.salesforce.SalesforceConsumer & moved to class org.apache.camel.component.salesforce.SalesforceComponent | From | To | |
| Extract And Move Method package createRestClientFor(endpointConfig SalesforceEndpointConfig) : RestClient extracted from public AbstractRestProcessor(endpoint SalesforceEndpoint) in class org.apache.camel.component.salesforce.internal.processor.AbstractRestProcessor & moved to class org.apache.camel.component.salesforce.SalesforceComponent | From | To |