ea4e5d76e0c442670861f45a41c952ac5efa4ed7
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type context : ApplicationContext to publisher : ApplicationEventPublisher in method public CloudEurekaClient(applicationInfoManager ApplicationInfoManager, config EurekaClientConfig, args DiscoveryClientOptionalArgs, publisher ApplicationEventPublisher) in class org.springframework.cloud.netflix.eureka.CloudEurekaClient | From | To | |
| Change Parameter Type context : ApplicationContext to publisher : ApplicationEventPublisher in method public CloudEurekaClient(applicationInfoManager ApplicationInfoManager, config EurekaClientConfig, publisher ApplicationEventPublisher) in class org.springframework.cloud.netflix.eureka.CloudEurekaClient | From | To | |
| Move Method | 1 | ||
| Move Method private maybeInitializeClient() : void from class org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration to private maybeInitializeClient(reg EurekaRegistration) : void from class org.springframework.cloud.netflix.eureka.EurekaServiceRegistry | From | To | |
| Move Attribute | 5 | ||
| Move Attribute private applicationInfoManager : ApplicationInfoManager from class org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration to private applicationInfoManager : ApplicationInfoManager from class org.springframework.cloud.netflix.eureka.EurekaRegistration | From | To | |
| Move Attribute private eurekaClient : EurekaClient from class org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration to private eurekaClient : EurekaClient from class org.springframework.cloud.netflix.eureka.EurekaRegistration | From | To | |
| Move Attribute private instanceConfig : CloudEurekaInstanceConfig from class org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration to private instanceConfig : CloudEurekaInstanceConfig from class org.springframework.cloud.netflix.eureka.EurekaRegistration | From | To | |
| Move Attribute private healthCheckHandler : HealthCheckHandler from class org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration to private healthCheckHandler : HealthCheckHandler from class org.springframework.cloud.netflix.eureka.EurekaRegistration | From | To | |
| Move Attribute private context : ApplicationContext from class org.springframework.cloud.netflix.eureka.CloudEurekaClient to private context : ApplicationContext from class org.springframework.cloud.netflix.eureka.sample.EurekaSampleApplication | From | To | |
| Extract Class | 1 | ||
| Extract Class org.springframework.cloud.netflix.eureka.EurekaRegistration from class org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute instanceConfig : CloudEurekaInstanceConfig to registration : EurekaRegistration in class org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration | From | To | |
| Rename Attribute context : ApplicationContext to publisher : ApplicationEventPublisher in class org.springframework.cloud.netflix.eureka.CloudEurekaClient | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type context : ApplicationContext to publisher : ApplicationEventPublisher in class org.springframework.cloud.netflix.eureka.CloudEurekaClient | From | To | |
| Change Attribute Type instanceConfig : CloudEurekaInstanceConfig to registration : EurekaRegistration in class org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter context : ApplicationContext to publisher : ApplicationEventPublisher in method public CloudEurekaClient(applicationInfoManager ApplicationInfoManager, config EurekaClientConfig, args DiscoveryClientOptionalArgs, publisher ApplicationEventPublisher) in class org.springframework.cloud.netflix.eureka.CloudEurekaClient | From | To | |
| Rename Parameter context : ApplicationContext to publisher : ApplicationEventPublisher in method public CloudEurekaClient(applicationInfoManager ApplicationInfoManager, config EurekaClientConfig, publisher ApplicationEventPublisher) in class org.springframework.cloud.netflix.eureka.CloudEurekaClient | From | To |