91c741a2a171129638071306482c019d007972ab
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method public createECFile(cluster MiniDFSCluster, file Path, dir Path, numBlocks int) : void from class org.apache.hadoop.hdfs.server.namenode.TestRecoverStripedBlocks to public createECFile(cluster MiniDFSCluster, file Path, dir Path, numBlocks int, numStripesPerBlk int) : void from class org.apache.hadoop.hdfs.DFSTestUtil | From | To | |
Move Method package createBlock(dataNodes List<DataNode>, ns FSNamesystem, file String, fileNode INodeFile, clientName String, previous ExtendedBlock) : Block from class org.apache.hadoop.hdfs.server.namenode.TestRecoverStripedBlocks to package createBlock(dataNodes List<DataNode>, fs DistributedFileSystem, ns FSNamesystem, file String, fileNode INodeFile, clientName String, previous ExtendedBlock, numStripes int) : Block from class org.apache.hadoop.hdfs.DFSTestUtil | From | To | |
Extract Method | 1 | ||
Extract Method package actualGetFromOneDataNode(datanode DNAddrPair, block LocatedBlock, startInBlk long, endInBlk long, buf byte[], offsets int[], lengths int[], corruptedBlockMap Map<ExtendedBlock,Set<DatanodeInfo>>) : void extracted from private actualGetFromOneDataNode(datanode DNAddrPair, blockStartOffset long, start long, end long, buf byte[], offset int, corruptedBlockMap Map<ExtendedBlock,Set<DatanodeInfo>>) : void in class org.apache.hadoop.hdfs.DFSInputStream | From | To | |
Rename Parameter | 2 | ||
Rename Parameter end : long to endInBlk : long in method package actualGetFromOneDataNode(datanode DNAddrPair, block LocatedBlock, startInBlk long, endInBlk long, buf byte[], offsets int[], lengths int[], corruptedBlockMap Map<ExtendedBlock,Set<DatanodeInfo>>) : void in class org.apache.hadoop.hdfs.DFSInputStream | From | To | |
Rename Parameter start : long to startInBlk : long in method package actualGetFromOneDataNode(datanode DNAddrPair, block LocatedBlock, startInBlk long, endInBlk long, buf byte[], offsets int[], lengths int[], corruptedBlockMap Map<ExtendedBlock,Set<DatanodeInfo>>) : void in class org.apache.hadoop.hdfs.DFSInputStream | From | To |