4cbbfa2220e884e91bf18ad1cc2f3b11f895f8c9
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public setBlockCollection(bc BlockCollection) : void renamed to public setBlockCollectionId(id long) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockInfo | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type bc : BlockCollection to id : long in method public setBlockCollectionId(id long) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockInfo | From | To | |
Change Parameter Type b : Block to b : BlockInfo in method public getBlockCollection(b BlockInfo) : BlockCollection in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
Rename Attribute | 1 | ||
Rename Attribute bc : BlockCollection to bcId : long in class org.apache.hadoop.hdfs.server.blockmanagement.BlockInfo | From | To | |
Extract Variable | 6 | ||
Extract Variable fsn : FSNamesystem in method public testFsckReplicaDetails() : void from class org.apache.hadoop.hdfs.server.namenode.TestFsck | From | To | |
Extract Variable bm : BlockManager in method public testFsckWithDecommissionedReplicas() : void from class org.apache.hadoop.hdfs.server.namenode.TestFsck | From | To | |
Extract Variable fsn : FSNamesystem in method public testFsckWithDecommissionedReplicas() : void from class org.apache.hadoop.hdfs.server.namenode.TestFsck | From | To | |
Extract Variable fsn : FSNamesystem in method public testBlockIdCKDecommission() : void from class org.apache.hadoop.hdfs.server.namenode.TestFsck | From | To | |
Extract Variable bm : BlockManager in method public testBlockIdCKDecommission() : void from class org.apache.hadoop.hdfs.server.namenode.TestFsck | From | To | |
Extract Variable bm : BlockManager in method public testFsckReplicaDetails() : void from class org.apache.hadoop.hdfs.server.namenode.TestFsck | From | To | |
Change Variable Type | 1 | ||
Change Variable Type old : BlockInfo to old : BlockInfoContiguous in method public testCopyConstructor() : void in class org.apache.hadoop.hdfs.server.blockmanagement.TestBlockInfo | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type bc : BlockCollection to bcId : long in class org.apache.hadoop.hdfs.server.blockmanagement.BlockInfo | From | To | |
Rename Parameter | 1 | ||
Rename Parameter bc : BlockCollection to id : long in method public setBlockCollectionId(id long) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockInfo | From | To |