f75af5f1855dca85a8856ddc687d16e039898c01
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable group2Ran : int to groupRan : int in method private completeGroupQueries(groupQueries Set<MockQueryExecution>) : int in class com.facebook.presto.execution.resourceGroups.TestResourceGroups | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable group2Queries : Set<MockQueryExecution> to groupQueries : Set<MockQueryExecution> in method private completeGroupQueries(groupQueries Set<MockQueryExecution>) : int in class com.facebook.presto.execution.resourceGroups.TestResourceGroups | From | To | |
Change Variable Type | 1 | ||
Change Variable Type queue : UpdateablePriorityQueue<InternalResourceGroup> to queue : Queue<InternalResourceGroup> in method public setSchedulingPolicy(policy SchedulingPolicy) : void in class com.facebook.presto.execution.resourceGroups.InternalResourceGroup | From | To | |
Extract Interface | 1 | ||
Extract Interface com.facebook.presto.execution.resourceGroups.Queue from classes [com.facebook.presto.execution.resourceGroups.UpdateablePriorityQueue] | From | To | |
Extract Method | 1 | ||
Extract Method private completeGroupQueries(groupQueries Set<MockQueryExecution>) : int extracted from public testWeightedScheduling() : void in class com.facebook.presto.execution.resourceGroups.TestResourceGroups | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type eligibleSubGroups : UpdateablePriorityQueue<InternalResourceGroup> to eligibleSubGroups : Queue<InternalResourceGroup> in class com.facebook.presto.execution.resourceGroups.InternalResourceGroup | From | To |