5411dc559d5f73e4153e76fdff94a26869c17a37
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method package initialize(live int, decommissioned int, decommissioning int, corrupt int, excess int, stale int) : void renamed to package set(live int, readonly int, decommissioned int, decommissioning int, corrupt int, excess int, stale int) : void in class org.apache.hadoop.hdfs.server.blockmanagement.NumberReplicas | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type b : BlockInfo to b : Block in method public countNodes(b Block) : NumberReplicas in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
| Rename Variable | 1 | ||
| Rename Variable blockCount : int to count : int in method package chooseUnderReplicatedBlocks(blocksToProcess int) : List<List<BlockInfo>> in class org.apache.hadoop.hdfs.server.blockmanagement.UnderReplicatedBlocks | From | To | |
| Change Return Type | 2 | ||
| Change Return Type BlockIterator to Iterator<BlockInfo> in method public iterator() : Iterator<BlockInfo> in class org.apache.hadoop.hdfs.server.blockmanagement.UnderReplicatedBlocks | From | To | |
| Change Return Type BlockIterator to Iterator<BlockInfo> in method package iterator(level int) : Iterator<BlockInfo> in class org.apache.hadoop.hdfs.server.blockmanagement.UnderReplicatedBlocks | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type bi : UnderReplicatedBlocks.BlockIterator to bi : Iterator<BlockInfo> in method private assertInLevel(queues UnderReplicatedBlocks, block Block, level int) : void in class org.apache.hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlockQueues | From | To | |
| Extract Variable | 1 | ||
| Extract Variable blocks : List<BlockInfo> in method package chooseUnderReplicatedBlocks(blocksToProcess int) : List<List<BlockInfo>> from class org.apache.hadoop.hdfs.server.blockmanagement.UnderReplicatedBlocks | From | To | |
| Inline Variable | 1 | ||
| Inline Variable block : BlockInfo in method public chooseUnderReplicatedBlocks(blocksToProcess int) : List<List<BlockInfo>> from class org.apache.hadoop.hdfs.server.blockmanagement.UnderReplicatedBlocks | From | To |