408f2c807bbaaaa37ce1b69a5dfa9d76ed427d6e
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable storageList : List<T> to candidate : T in method public splitNodesWithRack(availableSet Iterable<T>, candidates Collection<T>, rackMap Map<String,List<T>>, moreThanOne List<T>, exactlyOne List<T>) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy | From | To | |
Rename Variable dnProp : MiniDFSCluster.DataNodeProperties to host10 : MiniDFSCluster.DataNodeProperties in method public testReconstructForNotEnoughRacks() : void in class org.apache.hadoop.hdfs.server.blockmanagement.TestReconstructStripedBlocksWithRackAwareness | From | To | |
Change Variable Type | 1 | ||
Change Variable Type storageList : List<T> to candidate : T in method public splitNodesWithRack(availableSet Iterable<T>, candidates Collection<T>, rackMap Map<String,List<T>>, moreThanOne List<T>, exactlyOne List<T>) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy | From | To | |
Extract Method | 1 | ||
Extract Method private stopDataNode(hostname String) : MiniDFSCluster.DataNodeProperties extracted from public testReconstructForNotEnoughRacks() : void in class org.apache.hadoop.hdfs.server.blockmanagement.TestReconstructStripedBlocksWithRackAwareness | From | To | |
Rename Parameter | 1 | ||
Rename Parameter storagesOrDataNodes : Iterable<T> to availableSet : Iterable<T> in method public splitNodesWithRack(availableSet Iterable<T>, candidates Collection<T>, rackMap Map<String,List<T>>, moreThanOne List<T>, exactlyOne List<T>) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy | From | To |