922631f04f4bc79f4ceb17958030f80beb4f0576
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move Source Folder | 1 | ||
| Move Source Folder hadoop-hdfs-project/hadoop-hdfs to hadoop-hdfs-project/hadoop-hdfs-client | From | To | |
| Parameterize Variable | 2 | ||
| Parameterize Variable isCorrupt : boolean to storages : DatanodeStorageInfo[] in method public newLocatedStripedBlock(b ExtendedBlock, storages DatanodeStorageInfo[], indices int[], startOffset long, corrupt boolean) : LocatedStripedBlock in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
| Parameterize Variable eb : ExtendedBlock to b : ExtendedBlock in method public newLocatedStripedBlock(b ExtendedBlock, storages DatanodeStorageInfo[], indices int[], startOffset long, corrupt boolean) : LocatedStripedBlock in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type isCorrupt : boolean to storages : DatanodeStorageInfo[] in method public newLocatedStripedBlock(b ExtendedBlock, storages DatanodeStorageInfo[], indices int[], startOffset long, corrupt boolean) : LocatedStripedBlock in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To | |
| Extract Method | 2 | ||
| Extract Method public newLocatedStripedBlock(b ExtendedBlock, storages DatanodeStorageInfo[], indices int[], startOffset long, corrupt boolean) : LocatedStripedBlock extracted from private createLocatedBlock(blk BlockInfo, pos long) : LocatedBlock in class org.apache.hadoop.hdfs.server.blockmanagement.BlockManager | From | To |