af0b24d1a213bef7f481a247b705846eb358c195
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public ruleDefaultsToAvailability() : void renamed to public ruleDefaultsToZoneAvoidance() : void in class org.springframework.cloud.netflix.ribbon.RibbonClientPreprocessorIntegrationTests | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type servers : List<Server> to servers : List<DiscoveryEnabledServer> in method private setZones(servers List<DiscoveryEnabledServer>) : List<DiscoveryEnabledServer> in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList | From | To | |
Change Parameter Type servers : List<Server> to servers : List<DiscoveryEnabledServer> in method protected assertDomainExtractingServer(servers List<DiscoveryEnabledServer>, zone String) : DomainExtractingServer in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerListTests | From | To | |
Change Parameter Type list : ServerList<Server> to list : ServerList<DiscoveryEnabledServer> in method public DomainExtractingServerList(list ServerList<DiscoveryEnabledServer>, clientConfig IClientConfig, approximateZoneFromHostname boolean) in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList | From | To | |
Change Return Type | 3 | ||
Change Return Type List<Server> to List<DiscoveryEnabledServer> in method public getInitialListOfServers() : List<DiscoveryEnabledServer> in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList | From | To | |
Change Return Type List<Server> to List<DiscoveryEnabledServer> in method public getUpdatedListOfServers() : List<DiscoveryEnabledServer> in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList | From | To | |
Change Return Type List<Server> to List<DiscoveryEnabledServer> in method private setZones(servers List<DiscoveryEnabledServer>) : List<DiscoveryEnabledServer> in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList | From | To | |
Change Variable Type | 9 | ||
Change Variable Type servers : List<Server> to servers : List<DiscoveryEnabledServer> in method public testDomainExtractingServerUseIpAddress() : void in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerListTests | From | To | |
Change Variable Type aware : ZoneAwareLoadBalancer<Server> to aware : ZoneAwareLoadBalancer<DiscoveryEnabledServer> in method public basicConfigurationCreatedForLoadBalancer() : void in class org.springframework.cloud.netflix.ribbon.eureka.EurekaRibbonClientConfigurationTests | From | To | |
Change Variable Type servers : List<Server> to servers : List<DiscoveryEnabledServer> in method public testDomainExtractingServerDontApproximateZone() : void in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerListTests | From | To | |
Change Variable Type servers : List<Server> to servers : List<DiscoveryEnabledServer> in method public getInitialListOfServers() : List<DiscoveryEnabledServer> in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList | From | To | |
Change Variable Type servers : List<Server> to servers : List<DiscoveryEnabledServer> in method public getUpdatedListOfServers() : List<DiscoveryEnabledServer> in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList | From | To | |
Change Variable Type result : List<Server> to result : List<DiscoveryEnabledServer> in method private setZones(servers List<DiscoveryEnabledServer>) : List<DiscoveryEnabledServer> in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList | From | To | |
Change Variable Type server : Server to server : DiscoveryEnabledServer in method private setZones(servers List<DiscoveryEnabledServer>) : List<DiscoveryEnabledServer> in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList | From | To | |
Change Variable Type originalServerList : ServerList<Server> to originalServerList : ServerList<DiscoveryEnabledServer> in method protected getDomainExtractingServerList(config DefaultClientConfigImpl, approximateZoneFromHostname boolean) : DomainExtractingServerList in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerListTests | From | To | |
Change Variable Type servers : List<Server> to servers : List<DiscoveryEnabledServer> in method public testDomainExtractingServer() : void in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerListTests | From | To | |
Extract Method | 4 | ||
Extract Method private getLoadBalancer() : ZoneAwareLoadBalancer<Server> extracted from public ruleDefaultsToAvailability() : void in class org.springframework.cloud.netflix.ribbon.RibbonClientPreprocessorIntegrationTests | From | To | |
Extract Method private getLoadBalancer() : ZoneAwareLoadBalancer<Server> extracted from public ruleDefaultsToZoneAvoidance() : void in class org.springframework.cloud.netflix.ribbon.eureka.EurekaRibbonClientPreprocessorIntegrationTests | From | To | |
Extract Method private getLoadBalancer() : ZoneAwareLoadBalancer<Server> extracted from public ruleDefaultsToZoneAvoidance() : void in class org.springframework.cloud.netflix.ribbon.RibbonClientsPreprocessorIntegrationTests | From | To | |
Extract Method private getLoadBalancer() : ZoneAwareLoadBalancer<Server> extracted from public serverListFilterOverride() : void in class org.springframework.cloud.netflix.ribbon.RibbonClientsPreprocessorIntegrationTests | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type list : ServerList<Server> to list : ServerList<DiscoveryEnabledServer> in class org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList | From | To |