f05c21285ef23b6a973d69f045b1cb46c5abc039
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 6 | ||
Rename Method public convert(b LocatedBlock) : LocatedBlockProto renamed to public convertLocatedBlock(b LocatedBlock) : LocatedBlockProto in class org.apache.hadoop.hdfs.protocolPB.PBHelper | From | To | |
Rename Method public convertLocatedBlock(lb List<LocatedBlockProto>) : List<LocatedBlock> renamed to public convertLocatedBlocks(lb List<LocatedBlockProto>) : List<LocatedBlock> in class org.apache.hadoop.hdfs.protocolPB.PBHelper | From | To | |
Rename Method public convertLocatedBlock2(lb List<LocatedBlock>) : List<LocatedBlockProto> renamed to public convertLocatedBlocks2(lb List<LocatedBlock>) : List<LocatedBlockProto> in class org.apache.hadoop.hdfs.protocolPB.PBHelper | From | To | |
Rename Method public convertLocatedBlock(lb LocatedBlock[]) : LocatedBlockProto[] renamed to public convertLocatedBlocks(lb LocatedBlock[]) : LocatedBlockProto[] in class org.apache.hadoop.hdfs.protocolPB.PBHelper | From | To | |
Rename Method public convertLocatedBlock(lb LocatedBlockProto[]) : LocatedBlock[] renamed to public convertLocatedBlocks(lb LocatedBlockProto[]) : LocatedBlock[] in class org.apache.hadoop.hdfs.protocolPB.PBHelper | From | To | |
Rename Method public convert(proto LocatedBlockProto) : LocatedBlock renamed to public convertLocatedBlockProto(proto LocatedBlockProto) : LocatedBlock in class org.apache.hadoop.hdfs.protocolPB.PBHelper | From | To | |
Move Method | 1 | ||
Move Method private makeReportForReceivedBlock(block Block, storage DatanodeStorage) : StorageReceivedDeletedBlocks[] from class org.apache.hadoop.hdfs.server.datanode.TestIncrementalBrVariations to public makeReportForReceivedBlock(block Block, blockStatus BlockStatus, storage DatanodeStorage) : StorageReceivedDeletedBlocks[] from class org.apache.hadoop.hdfs.DFSTestUtil | From | To | |
Rename Variable | 1 | ||
Rename Variable expectedLocation : DatanodeStorageInfo to expected : DatanodeStorageInfo in method package addReplicaIfNotPresent(storage DatanodeStorageInfo, reportedBlock Block, rState ReplicaState) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoStripedUnderConstruction | From | To | |
Extract Variable | 1 | ||
Extract Variable blkList : List<LocatedBlock> in method package getBlockLocations(clientMachine String, srcArg String, offset long, length long) : LocatedBlocks from class org.apache.hadoop.hdfs.server.namenode.FSNamesystem | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type replicas : List<ReplicaUnderConstruction> to replicas : ReplicaUnderConstruction[] in class org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoStripedUnderConstruction | From | To | |
Rename Parameter | 1 | ||
Rename Parameter block : Block to reportedBlock : Block in method package addReplicaIfNotPresent(storage DatanodeStorageInfo, reportedBlock Block, rState ReplicaState) : void in class org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoStripedUnderConstruction | From | To |