feb795b58d2a3c20bdbddea1638a83f6637d3fc9
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public addTransaction(tx DeletedBlocksTransaction) : void renamed to private addTransactionToDN(dnID UUID, tx DeletedBlocksTransaction) : void in class org.apache.hadoop.hdds.scm.block.DatanodeDeletedBlockTransactions | From | To | |
Rename Variable | 5 | ||
Rename Variable tx : DeletedBlocksTransaction to dnDetails : DatanodeDetails in method private commitTransactions(transactionResults List<DeleteBlockTransactionResult>, dns DatanodeDetails...) : void in class org.apache.hadoop.hdds.scm.block.TestDeletedBlockLog | From | To | |
Rename Variable ex : IOException to e : IOException in method public commitTransactions(transactionResults List<DeleteBlockTransactionResult>, dnID UUID) : void in class org.apache.hadoop.hdds.scm.block.DeletedBlockLogImpl | From | To | |
Rename Variable block : DeletedBlocksTransaction to dnDetails : DatanodeDetails in method private commitTransactions(transactionResults List<DeleteBlockTransactionResult>, dns DatanodeDetails...) : void in class org.apache.hadoop.hdds.scm.block.TestDeletedBlockLog | From | To | |
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute mappingService : Mapping to containerManager : Mapping in method private mockContainerInfo(containerID long, dd DatanodeDetails) : void in class org.apache.hadoop.hdds.scm.block.TestDeletedBlockLog | From | To | |
Replace Variable With Attribute mappingService : Mapping to containerManager : Mapping in method public testDeletedBlockTransactions() : void in class org.apache.hadoop.hdds.scm.block.TestDeletedBlockLog | From | To | |
Change Variable Type | 4 | ||
Change Variable Type block : DeletedBlocksTransaction to dnDetails : DatanodeDetails in method private commitTransactions(transactionResults List<DeleteBlockTransactionResult>, dns DatanodeDetails...) : void in class org.apache.hadoop.hdds.scm.block.TestDeletedBlockLog | From | To | |
Change Variable Type tx : DeletedBlocksTransaction to dnDetails : DatanodeDetails in method private commitTransactions(transactionResults List<DeleteBlockTransactionResult>, dns DatanodeDetails...) : void in class org.apache.hadoop.hdds.scm.block.TestDeletedBlockLog | From | To | |
Extract Method | 4 | ||
Extract Method private commitTransactions(transactionResults List<DeleteBlockTransactionResult>, dns DatanodeDetails...) : void extracted from public testRandomOperateTransactions() : void in class org.apache.hadoop.hdds.scm.block.TestDeletedBlockLog | From | To | |
Extract Method private commitTransactions(transactionResults List<DeleteBlockTransactionResult>, dns DatanodeDetails...) : void extracted from public testDeletedBlockTransactions() : void in class org.apache.hadoop.hdds.scm.block.TestDeletedBlockLog | From | To | |
Extract Method private commitTransactions(transactionResults List<DeleteBlockTransactionResult>, dns DatanodeDetails...) : void extracted from public testPersistence() : void in class org.apache.hadoop.hdds.scm.block.TestDeletedBlockLog | From | To | |
Extract Method private commitTransactions(transactionResults List<DeleteBlockTransactionResult>, dns DatanodeDetails...) : void extracted from public testCommitTransactions() : void in class org.apache.hadoop.hdds.scm.block.TestDeletedBlockLog | From | To |