6979cbfc1f4c28440816b56f5624765872b0be49
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Method | 1 | ||
Inline Method private removeFromExcessReplicateMap(block BlockInfo) : void inlined to public removeBlockFromMap(block BlockInfo) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
Rename Attribute | 1 | ||
Rename Attribute excessReplicateMap : Map<String,LightWeightHashSet<BlockInfo>> to excessReplicas : ExcessReplicaMap in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
Extract Variable | 1 | ||
Extract Variable bm : BlockManager in method public testChooseReplicaToDelete() : void from class org.apache.hadoop.hdfs.server.blockmanagement.TestOverReplicatedBlocks | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type excessReplicateMap : Map<String,LightWeightHashSet<BlockInfo>> to excessReplicas : ExcessReplicaMap in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
Rename Parameter | 2 | ||
Rename Parameter block : BlockInfo to blk : BlockInfo in method public isExcess(dn DatanodeDescriptor, blk BlockInfo) : boolean in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
Rename Parameter node : DatanodeDescriptor to dn : DatanodeDescriptor in method public isExcess(dn DatanodeDescriptor, blk BlockInfo) : boolean in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To |