6f4fdf9e05f437a1f2d7a608131ceda55f28deb9
Files Diff
- Added: 6
- Removed: 2
- Renamed: 0
- Modified: 13
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public getContext() : CamelContext renamed to public getCamelContext() : CamelContext in class org.apache.camel.component.consul.ConsulConfiguration | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type consumerFactory : ConsumerFactory to consumerFactory : Optional<ConsumerFactory> in method public ConsulEndpoint(apiEndpoint String, uri String, component ConsulComponent, configuration ConsulConfiguration, producerFactory Optional<ProducerFactory>, consumerFactory Optional<ConsumerFactory>) in class org.apache.camel.component.consul.ConsulEndpoint | From | To | |
| Change Parameter Type producerFactory : ProducerFactory to producerFactory : Optional<ProducerFactory> in method public ConsulEndpoint(apiEndpoint String, uri String, component ConsulComponent, configuration ConsulConfiguration, producerFactory Optional<ProducerFactory>, consumerFactory Optional<ConsumerFactory>) in class org.apache.camel.component.consul.ConsulEndpoint | From | To | |
| Inline Method | 1 | ||
| Inline Method private createConfiguration(parameters Map<String,Object>) : ConsulConfiguration inlined to protected createEndpoint(uri String, remaining String, parameters Map<String,Object>) : Endpoint in class org.apache.camel.component.consul.ConsulComponent | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private dc : String from class org.apache.camel.component.consul.ConsulConfiguration to private dc : String from class org.apache.camel.component.consul.springboot.ConsulComponentConfiguration.ConsulConfigurationNestedConfiguration | From | To | |
| Rename Class | 1 | ||
| Rename Class org.apache.camel.component.consul.springboot.cloud.ConsulCloudAutoConfiguration renamed to org.apache.camel.component.consul.springboot.cloud.ConsulServiceDiscoveryAutoConfiguration | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute dc : String to datacenter : String in class org.apache.camel.component.consul.ConsulConfiguration | From | To | |
| Rename Attribute dc : String to datacenter : String in class org.apache.camel.model.cloud.ConsulServiceCallServiceDiscoveryConfiguration | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type entry : Map.Entry<String,ConsulConfiguration> to entry : Map.Entry<String,ConsulServiceCallServiceDiscoveryConfigurationCommon> in method public postConstruct() : void in class org.apache.camel.component.consul.springboot.cloud.ConsulServiceDiscoveryAutoConfiguration | From | To | |
| Extract Method | 1 | ||
| Extract Method public getDatacenter() : String extracted from public getDc() : String in class org.apache.camel.component.consul.cloud.ConsulServiceDiscoveryFactory | From | To | |
| Change Attribute Type | 5 | ||
| Change Attribute Type consumerFactory : ConsumerFactory to consumerFactory : Optional<ConsumerFactory> in class org.apache.camel.component.consul.ConsulEndpoint | From | To | |
| Change Attribute Type producerFactory : ProducerFactory to producerFactory : Optional<ProducerFactory> in class org.apache.camel.component.consul.ConsulEndpoint | From | To | |
| Change Attribute Type producerFactory : ConsulEndpoint.ProducerFactory to producerFactory : Optional<ConsulEndpoint.ProducerFactory> in class org.apache.camel.component.consul.ConsulComponent.ConsulApiEndpoint | From | To | |
| Change Attribute Type configuration : ConsulCloudConfiguration to configuration : ConsulServiceCallServiceDiscoveryConfigurationProperties in class org.apache.camel.component.consul.springboot.cloud.ConsulServiceDiscoveryAutoConfiguration | From | To | |
| Change Attribute Type consumerFactory : ConsulEndpoint.ConsumerFactory to consumerFactory : Optional<ConsulEndpoint.ConsumerFactory> in class org.apache.camel.component.consul.ConsulComponent.ConsulApiEndpoint | From | To |