f7ea3c3c2e93d9d639ee008b5912a127f58d26f6
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 1 | ||
Change Return Type void to SingularityLoadBalancerUpdate in method private syncUpstreamsForService(request SingularityRequest, requestId String, deploy SingularityDeploy, loadBalancerUpstreamGroup Optional<String>) : SingularityLoadBalancerUpdate in class com.hubspot.singularity.scheduler.SingularityUpstreamChecker | From | To | |
Extract Variable | 1 | ||
Extract Variable deploy : SingularityDeploy in method public syncUpstreams() : void from class com.hubspot.singularity.scheduler.SingularityUpstreamChecker | From | To | |
Extract Method | 1 | ||
Extract Method public makeAndSendBaragonRequest(loadBalancerRequestId LoadBalancerRequestId, addUpstreams List<UpstreamInfo>, removeUpstreams List<UpstreamInfo>, deploy SingularityDeploy, request SingularityRequest) : SingularityLoadBalancerUpdate extracted from public enqueue(loadBalancerRequestId LoadBalancerRequestId, request SingularityRequest, deploy SingularityDeploy, add List<SingularityTask>, remove List<SingularityTask>) : SingularityLoadBalancerUpdate in class com.hubspot.singularity.hooks.LoadBalancerClientImpl | From | To |