fff04bfbea5eeb3fc0d6a59db961c4b678ceab58
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 6 | ||
Move And Inline Method private refresh() : void moved from class org.apache.flink.runtime.io.network.partition.ResultPartitionMetrics to class org.apache.flink.runtime.io.network.partition.consumer.InputGateMetrics & inlined to package refreshAndGetMin() : int | From | To | |
Move And Inline Method private refresh() : void moved from class org.apache.flink.runtime.io.network.partition.ResultPartitionMetrics to class org.apache.flink.runtime.io.network.partition.consumer.InputGateMetrics & inlined to package refreshAndGetMax() : int | From | To | |
Rename Variable | 1 | ||
Rename Variable max : int to total : long in method package refreshAndGetAvg() : float in class org.apache.flink.runtime.io.network.partition.ResultPartitionMetrics | From | To | |
Inline Method | 13 | ||
Inline Method private refresh() : void inlined to package refreshAndGetMin() : int in class org.apache.flink.runtime.io.network.partition.consumer.InputGateMetrics | From | To | |
Inline Method private refresh() : void inlined to package refreshAndGetAvg() : float in class org.apache.flink.runtime.io.network.partition.consumer.InputGateMetrics | From | To | |
Inline Method private refresh() : void inlined to package refreshAndGetTotal() : long in class org.apache.flink.runtime.io.network.partition.consumer.InputGateMetrics | From | To | |
Inline Method private refresh() : void inlined to package refreshAndGetMin() : int in class org.apache.flink.runtime.io.network.partition.ResultPartitionMetrics | From | To | |
Inline Method private refresh() : void inlined to package refreshAndGetMax() : int in class org.apache.flink.runtime.io.network.partition.ResultPartitionMetrics | From | To | |
Inline Method private refresh() : void inlined to package refreshAndGetMax() : int in class org.apache.flink.runtime.io.network.partition.consumer.InputGateMetrics | From | To | |
Inline Method private refresh() : void inlined to package refreshAndGetAvg() : float in class org.apache.flink.runtime.io.network.partition.ResultPartitionMetrics | From | To | |
Change Variable Type | 1 | ||
Change Variable Type max : int to total : long in method package refreshAndGetAvg() : float in class org.apache.flink.runtime.io.network.partition.ResultPartitionMetrics | From | To | |
Extract Variable | 3 | ||
Extract Variable allPartitions : ResultSubpartition[] in method package refreshAndGetAvg() : float from class org.apache.flink.runtime.io.network.partition.ResultPartitionMetrics | From | To | |
Extract Variable allPartitions : ResultSubpartition[] in method package refreshAndGetMin() : int from class org.apache.flink.runtime.io.network.partition.ResultPartitionMetrics | From | To | |
Extract Variable channels : Collection<InputChannel> in method package refreshAndGetMin() : int from class org.apache.flink.runtime.io.network.partition.consumer.InputGateMetrics | From | To | |
Inline Variable | 1 | ||
Inline Variable size : int in method private refresh() : void from class org.apache.flink.runtime.io.network.partition.consumer.InputGateMetrics | From | To |