22c0c7ebad5265b66e0060d25cce9ce4568234a8
Files Diff
- Added: 7
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable tmpBkp : Map<UUID,Set<Integer>> to tmpBackup : Map<UUID,Set<Integer>> in method public GridAffinityAssignment(topVer AffinityTopologyVersion, assignment List<List<ClusterNode>>, idealAssignment List<List<ClusterNode>>) in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
Rename Variable tmpPrm : Map<UUID,Set<Integer>> to tmpPrimary : Map<UUID,Set<Integer>> in method public GridAffinityAssignment(topVer AffinityTopologyVersion, assignment List<List<ClusterNode>>, idealAssignment List<List<ClusterNode>>) in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
Inline Method | 2 | ||
Inline Method private initPrimaryBackupMaps() : void inlined to public GridAffinityAssignment(topVer AffinityTopologyVersion, assignment List<List<ClusterNode>>, idealAssignment List<List<ClusterNode>>) in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
Change Return Type | 3 | ||
Change Return Type HashSet<UUID> to Collection<UUID> in method public getIds(part int) : Collection<UUID> in class org.apache.ignite.internal.processors.affinity.HistoryAffinityAssignment | From | To | |
Change Return Type HashSet<UUID> to Collection<UUID> in method public getIds(part int) : Collection<UUID> in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
Change Return Type HashSet<UUID> to Collection<UUID> in method public getIds(part int) : Collection<UUID> in class org.apache.ignite.internal.processors.affinity.AffinityAssignment | From | To | |
Change Variable Type | 3 | ||
Change Variable Type assignmentIds0 : List<HashSet<UUID>> to assignmentIds0 : List<Collection<UUID>> in method private getOrCreateAssignmentsIds(part int) : Collection<UUID> in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
Change Variable Type ids : HashSet<UUID> to ids : Collection<UUID> in method private affinityFullMap(aff AffinityAssignment) : Map<UUID,GridDhtPartitionMap> in class org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager | From | To | |
Change Variable Type affIds : HashSet<UUID> to affIds : Collection<UUID> in method private nodes0(p int, affAssignment AffinityAssignment, affNodes List<ClusterNode>) : List<ClusterNode> in class org.apache.ignite.internal.processors.cache.distributed.dht.topology.GridDhtPartitionTopologyImpl | From | To | |
Extract Method | 2 | ||
Extract Method private getOrCreateAssignmentsIds(part int) : Collection<UUID> extracted from public getIds(part int) : HashSet<UUID> in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
Inline Variable | 1 | ||
Inline Variable map : Map<UUID,Set<Integer>> in method private initPrimaryBackupMaps() : void from class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type assignmentIds : List<HashSet<UUID>> to assignmentIds : List<Collection<UUID>> in class org.apache.ignite.internal.processors.affinity.GridAffinityAssignment | From | To |