441b15918ef150d4ae3da366dbbe0545599bd385
Files Diff
- Added: 2
- Removed: 2
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public getPriorityRequest() : SingularityPriorityRequest renamed to public getPriorityFreeze() : SingularityPriorityFreeze in class com.hubspot.singularity.SingularityPriorityFreezeParent | From | To | |
Rename Method public createPriorityKill(priorityKill SingularityPriorityRequestParent) : SingularityCreateResult renamed to public createPriorityFreeze(priorityFreeze SingularityPriorityFreezeParent) : SingularityCreateResult in class com.hubspot.singularity.data.PriorityManager | From | To | |
Rename Method public testPriorityKill() : void renamed to public testPriorityFreezeKillsActiveTasksAndCancelsPendingTasks() : void in class com.hubspot.singularity.scheduler.SingularitySchedulerTest | From | To | |
Rename Method public deleteActivePriorityKill() : SingularityDeleteResult renamed to public clearPriorityKill() : SingularityDeleteResult in class com.hubspot.singularity.data.PriorityManager | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type priorityRequest : SingularityPriorityRequest to priorityFreeze : SingularityPriorityFreeze in method public SingularityPriorityFreezeParent(priorityFreeze SingularityPriorityFreeze, timestamp long, user Optional<String>) in class com.hubspot.singularity.SingularityPriorityFreezeParent | From | To | |
Change Parameter Type priorityKill : SingularityPriorityRequestParent to priorityFreeze : SingularityPriorityFreezeParent in method public createPriorityFreeze(priorityFreeze SingularityPriorityFreezeParent) : SingularityCreateResult in class com.hubspot.singularity.data.PriorityManager | From | To | |
Change Parameter Type priorityFreezeRequest : SingularityPriorityRequest to priorityFreezeRequest : SingularityPriorityFreeze in method public createPriorityFreeze(priorityFreezeRequest SingularityPriorityFreeze) : SingularityPriorityFreezeParent in class com.hubspot.singularity.resources.PriorityResource | From | To | |
Change Parameter Type priorityRequestParentTranscoder : Transcoder<SingularityPriorityRequestParent> to priorityFreezeParentTranscoder : Transcoder<SingularityPriorityFreezeParent> in method public PriorityManager(curator CuratorFramework, configuration SingularityConfiguration, metricRegistry MetricRegistry, priorityFreezeParentTranscoder Transcoder<SingularityPriorityFreezeParent>) in class com.hubspot.singularity.data.PriorityManager | From | To | |
Rename Variable | 2 | ||
Rename Variable task2 : SingularityTask to task4 : SingularityTask in method public testPriorityFreezeKillsActiveTasksAndCancelsPendingTasks() : void in class com.hubspot.singularity.scheduler.SingularitySchedulerTest | From | To | |
Rename Variable maybePriorityKill : Optional<SingularityPriorityRequestParent> to maybePriorityFreeze : Optional<SingularityPriorityFreezeParent> in method public runActionOnPoll() : void in class com.hubspot.singularity.scheduler.SingularityPriorityKillPoller | From | To | |
Change Return Type | 4 | ||
Change Return Type SingularityPriorityRequest to SingularityPriorityFreeze in method public getPriorityFreeze() : SingularityPriorityFreeze in class com.hubspot.singularity.SingularityPriorityFreezeParent | From | To | |
Change Return Type Optional<SingularityPriorityRequestParent> to Optional<SingularityPriorityFreezeParent> in method public getActivePriorityFreeze() : Optional<SingularityPriorityFreezeParent> in class com.hubspot.singularity.resources.PriorityResource | From | To | |
Change Return Type SingularityPriorityRequestParent to SingularityPriorityFreezeParent in method public createPriorityFreeze(priorityFreezeRequest SingularityPriorityFreeze) : SingularityPriorityFreezeParent in class com.hubspot.singularity.resources.PriorityResource | From | To | |
Change Return Type Optional<SingularityPriorityRequestParent> to Optional<SingularityPriorityFreezeParent> in method public getActivePriorityFreeze() : Optional<SingularityPriorityFreezeParent> in class com.hubspot.singularity.data.PriorityManager | From | To | |
Rename Class | 2 | ||
Rename Class com.hubspot.singularity.api.SingularityPriorityRequest renamed to com.hubspot.singularity.api.SingularityPriorityFreeze | From | To | |
Rename Class com.hubspot.singularity.SingularityPriorityRequestParent renamed to com.hubspot.singularity.SingularityPriorityFreezeParent | From | To | |
Rename Attribute | 2 | ||
Rename Attribute priorityRequest : SingularityPriorityRequest to priorityFreeze : SingularityPriorityFreeze in class com.hubspot.singularity.SingularityPriorityFreezeParent | From | To | |
Rename Attribute priorityRequestParentTranscoder : Transcoder<SingularityPriorityRequestParent> to priorityFreezeParentTranscoder : Transcoder<SingularityPriorityFreezeParent> in class com.hubspot.singularity.data.PriorityManager | From | To | |
Change Variable Type | 6 | ||
Change Variable Type that : SingularityPriorityRequest to that : SingularityPriorityFreeze in method public equals(o Object) : boolean in class com.hubspot.singularity.api.SingularityPriorityFreeze | From | To | |
Change Variable Type maybePriorityFreeze : Optional<SingularityPriorityRequestParent> to maybePriorityFreeze : Optional<SingularityPriorityFreezeParent> in method public drainPendingQueue(stateCache SingularitySchedulerStateCache) : void in class com.hubspot.singularity.scheduler.SingularityScheduler | From | To | |
Change Variable Type priorityFreezeRequestParent : SingularityPriorityRequestParent to priorityFreezeRequestParent : SingularityPriorityFreezeParent in method public createPriorityFreeze(priorityFreezeRequest SingularityPriorityFreeze) : SingularityPriorityFreezeParent in class com.hubspot.singularity.resources.PriorityResource | From | To | |
Change Variable Type maybePriorityKill : Optional<SingularityPriorityRequestParent> to maybePriorityFreeze : Optional<SingularityPriorityFreezeParent> in method public runActionOnPoll() : void in class com.hubspot.singularity.scheduler.SingularityPriorityKillPoller | From | To | |
Change Variable Type that : SingularityPriorityRequestParent to that : SingularityPriorityFreezeParent in method public equals(o Object) : boolean in class com.hubspot.singularity.SingularityPriorityFreezeParent | From | To | |
Change Variable Type maybePriorityFreeze : Optional<SingularityPriorityRequestParent> to maybePriorityFreeze : Optional<SingularityPriorityFreezeParent> in method public generateState(includeRequestIds boolean) : SingularityState in class com.hubspot.singularity.data.StateManager | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type priorityRequest : SingularityPriorityRequest to priorityFreeze : SingularityPriorityFreeze in class com.hubspot.singularity.SingularityPriorityFreezeParent | From | To | |
Change Attribute Type priorityRequestParentTranscoder : Transcoder<SingularityPriorityRequestParent> to priorityFreezeParentTranscoder : Transcoder<SingularityPriorityFreezeParent> in class com.hubspot.singularity.data.PriorityManager | From | To | |
Rename Parameter | 3 | ||
Rename Parameter priorityRequestParentTranscoder : Transcoder<SingularityPriorityRequestParent> to priorityFreezeParentTranscoder : Transcoder<SingularityPriorityFreezeParent> in method public PriorityManager(curator CuratorFramework, configuration SingularityConfiguration, metricRegistry MetricRegistry, priorityFreezeParentTranscoder Transcoder<SingularityPriorityFreezeParent>) in class com.hubspot.singularity.data.PriorityManager | From | To | |
Rename Parameter priorityRequest : SingularityPriorityRequest to priorityFreeze : SingularityPriorityFreeze in method public SingularityPriorityFreezeParent(priorityFreeze SingularityPriorityFreeze, timestamp long, user Optional<String>) in class com.hubspot.singularity.SingularityPriorityFreezeParent | From | To | |
Rename Parameter priorityKill : SingularityPriorityRequestParent to priorityFreeze : SingularityPriorityFreezeParent in method public createPriorityFreeze(priorityFreeze SingularityPriorityFreezeParent) : SingularityCreateResult in class com.hubspot.singularity.data.PriorityManager | From | To |