2eabbdd27c45a75c4ea2cb5974f855f61b8face1
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private slots(partitions Collection<ClusterPartition>) : Collection<Integer> renamed to private slotsAmount(partitions Collection<ClusterPartition>) : int in class org.redisson.cluster.ClusterConnectionManager | From | To | |
Change Return Type | 2 | ||
Change Return Type Collection<Integer> to int in method private slotsAmount(partitions Collection<ClusterPartition>) : int in class org.redisson.cluster.ClusterConnectionManager | From | To | |
Change Return Type HashSet<ClusterPartition> to Set<ClusterPartition> in method private getLastPartitions() : Set<ClusterPartition> in class org.redisson.cluster.ClusterConnectionManager | From | To | |
Extract Variable | 2 | ||
Extract Variable lastPartitions : Set<ClusterPartition> in method private checkMasterNodesChange(cfg ClusterServersConfig, newPartitions Collection<ClusterPartition>) : RFuture<Void> from class org.redisson.cluster.ClusterConnectionManager | From | To | |
Extract Variable lastPartitions : Set<ClusterPartition> in method private checkSlaveNodesChange(newPartitions Collection<ClusterPartition>) : void from class org.redisson.cluster.ClusterConnectionManager | From | To | |
Inline Variable | 1 | ||
Inline Variable currentPartitions : Set<ClusterPartition> in method private checkSlotsMigration(newPartitions Collection<ClusterPartition>) : void from class org.redisson.cluster.ClusterConnectionManager | From | To |