afe7933b156d51691997fefd251b76de5ea15e1a
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private currentBaselineAssignment(topVer AffinityTopologyVersion) : List<List<ClusterNode>> renamed to private baselineAssignmentWithoutOfflineNodes(topVer AffinityTopologyVersion) : List<List<ClusterNode>> in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Change Return Type | 2 | ||
Change Return Type List<List<ClusterNode>> to IdealAffinityAssignment in method public idealAssignment() : IdealAffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Change Return Type List<List<ClusterNode>> to IdealAffinityAssignment in method public calculate(topVer AffinityTopologyVersion, events ExchangeDiscoveryEvents, discoCache DiscoCache) : IdealAffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute assignment : List<List<ClusterNode>> to baselineAssignment : IdealAffinityAssignment in method public calculate(topVer AffinityTopologyVersion, events ExchangeDiscoveryEvents, discoCache DiscoCache) : IdealAffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Change Variable Type | 3 | ||
Change Variable Type assignment : List<List<ClusterNode>> to assignment : IdealAffinityAssignment in method public calculate(topVer AffinityTopologyVersion, events ExchangeDiscoveryEvents, discoCache DiscoCache) : IdealAffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Change Variable Type prevAssignment : List<List<ClusterNode>> to prevAssignment : IdealAffinityAssignment in method public calculate(topVer AffinityTopologyVersion, events ExchangeDiscoveryEvents, discoCache DiscoCache) : IdealAffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Change Variable Type assignment : List<List<ClusterNode>> to baselineAssignment : IdealAffinityAssignment in method public calculate(topVer AffinityTopologyVersion, events ExchangeDiscoveryEvents, discoCache DiscoCache) : IdealAffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Extract Variable | 4 | ||
Extract Variable baselineAffinityNodes : List<ClusterNode> in method public calculate(topVer AffinityTopologyVersion, events ExchangeDiscoveryEvents, discoCache DiscoCache) : IdealAffinityAssignment from class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Extract Variable currentOwners : List<ClusterNode> in method public GridAffinityAssignmentV2(topVer AffinityTopologyVersion, assignment List<List<ClusterNode>>, idealAssignment List<List<ClusterNode>>) from class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentV2 | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type idealAssignment : List<List<ClusterNode>> to idealAssignment : IdealAffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To | |
Change Attribute Type baselineAssignment : List<List<ClusterNode>> to baselineAssignment : IdealAffinityAssignment in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache | From | To |