a65171f4c39e9cb7bd284021cb73ea2b6bcd4bb7
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 5 | ||
| Rename Method public getServices() : Map<String,List<String>> renamed to public getConfigurations() : Map<String,ServiceDiscoveryConfiguration> in class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscovery | From | To | |
| Rename Method public getBlacklist() : Map<String,List<String>> renamed to public getConfigurations() : Map<String,ServiceFilterConfiguration> in class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceFilter | From | To | |
| Rename Method public serviceFilter(properties CamelCloudConfigurationProperties) : CamelCloudServiceFilter renamed to private createServiceFilter(configuration CamelCloudConfigurationProperties.ServiceFilterConfiguration) : CamelCloudServiceFilter in class org.apache.camel.spring.boot.cloud.CamelCloudServiceFilterAutoConfiguration | From | To | |
| Rename Method public doTest() : void renamed to public testConfiguration() : void in class org.apache.camel.spring.boot.cloud.CamelCloudServiceCallConfigurationTest | From | To | |
| Rename Method public staticServiceDiscovery(properties CamelCloudConfigurationProperties) : ServiceDiscovery renamed to private createStaticServiceDiscovery(configuration CamelCloudConfigurationProperties.ServiceDiscoveryConfiguration) : ServiceDiscovery in class org.apache.camel.spring.boot.cloud.CamelCloudServiceDiscoveryAutoConfiguration | From | To | |
| Pull Up Method | 2 | ||
| Pull Up Method public setCacheTimeout(cacheTimeout String) : void from class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscovery to public setCacheTimeout(cacheTimeout String) : void from class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscoveryConfiguration | From | To | |
| Pull Up Method public getCacheTimeout() : String from class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscovery to public getCacheTimeout() : String from class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscoveryConfiguration | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type properties : CamelCloudConfigurationProperties to configuration : CamelCloudConfigurationProperties.ServiceFilterConfiguration in method private createServiceFilter(configuration CamelCloudConfigurationProperties.ServiceFilterConfiguration) : CamelCloudServiceFilter in class org.apache.camel.spring.boot.cloud.CamelCloudServiceFilterAutoConfiguration | From | To | |
| Change Parameter Type properties : CamelCloudConfigurationProperties to configuration : CamelCloudConfigurationProperties.ServiceDiscoveryConfiguration in method private createStaticServiceDiscovery(configuration CamelCloudConfigurationProperties.ServiceDiscoveryConfiguration) : ServiceDiscovery in class org.apache.camel.spring.boot.cloud.CamelCloudServiceDiscoveryAutoConfiguration | From | To | |
| Pull Up Attribute | 3 | ||
| Pull Up Attribute private services : Map<String,List<String>> from class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscovery to private services : Map<String,List<String>> from class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscoveryConfiguration | From | To | |
| Pull Up Attribute private cacheTimeout : String from class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscovery to private cacheTimeout : String from class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscoveryConfiguration | From | To | |
| Pull Up Attribute private blacklist : Map<String,List<String>> from class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceFilter to private blacklist : Map<String,List<String>> from class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceFilterConfiguration | From | To | |
| Change Return Type | 2 | ||
| Change Return Type Map<String,List<String>> to Map<String,ServiceFilterConfiguration> in method public getConfigurations() : Map<String,ServiceFilterConfiguration> in class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceFilter | From | To | |
| Change Return Type Map<String,List<String>> to Map<String,ServiceDiscoveryConfiguration> in method public getConfigurations() : Map<String,ServiceDiscoveryConfiguration> in class org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscovery | From | To | |
| Replace Variable With Attribute | 1 | ||
| Replace Variable With Attribute properties : CamelCloudConfigurationProperties to configurationProperties : CamelCloudConfigurationProperties in method public serviceDiscovery(serviceDiscoveryList List<ServiceDiscovery>) : CamelCloudServiceDiscovery in class org.apache.camel.spring.boot.cloud.CamelCloudServiceDiscoveryAutoConfiguration | From | To | |
| Extract Superclass | 2 | ||
| Extract Superclass org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceFilterConfiguration from classes [org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceFilter] | From | To | |
| Extract Superclass org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscoveryConfiguration from classes [org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties.ServiceDiscovery] | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter properties : CamelCloudConfigurationProperties to configuration : CamelCloudConfigurationProperties.ServiceDiscoveryConfiguration in method private createStaticServiceDiscovery(configuration CamelCloudConfigurationProperties.ServiceDiscoveryConfiguration) : ServiceDiscovery in class org.apache.camel.spring.boot.cloud.CamelCloudServiceDiscoveryAutoConfiguration | From | To | |
| Rename Parameter properties : CamelCloudConfigurationProperties to configuration : CamelCloudConfigurationProperties.ServiceFilterConfiguration in method private createServiceFilter(configuration CamelCloudConfigurationProperties.ServiceFilterConfiguration) : CamelCloudServiceFilter in class org.apache.camel.spring.boot.cloud.CamelCloudServiceFilterAutoConfiguration | From | To |