97a2396af685838c9fcb31e48573e758c124d8d7
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 2 | ||
Change Return Type boolean to BlockInfoStripedUnderConstruction in method package removeLastBlock(oldblock Block) : BlockInfoStripedUnderConstruction in class org.apache.hadoop.hdfs.server.namenode.FileWithStripedBlocksFeature | From | To | |
Change Return Type BlockInfoContiguousUnderConstruction to BlockInfoUnderConstruction in method package removeLastBlock(oldblock Block) : BlockInfoUnderConstruction in class org.apache.hadoop.hdfs.server.namenode.INodeFile | From | To | |
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute suite : BlockStoragePolicySuite to defaultPolicy : BlockStoragePolicy in method public testBlockStripedUCComputeQuotaUsage() : void in class org.apache.hadoop.hdfs.server.namenode.TestStripedINodeFile | From | To | |
Replace Variable With Attribute suite : BlockStoragePolicySuite to defaultPolicy : BlockStoragePolicy in method public testBlockStripedComputeQuotaUsage() : void in class org.apache.hadoop.hdfs.server.namenode.TestStripedINodeFile | From | To | |
Change Variable Type | 2 | ||
Change Variable Type suite : BlockStoragePolicySuite to defaultPolicy : BlockStoragePolicy in method public testBlockStripedUCComputeQuotaUsage() : void in class org.apache.hadoop.hdfs.server.namenode.TestStripedINodeFile | From | To | |
Change Variable Type suite : BlockStoragePolicySuite to defaultPolicy : BlockStoragePolicy in method public testBlockStripedComputeQuotaUsage() : void in class org.apache.hadoop.hdfs.server.namenode.TestStripedINodeFile | From | To | |
Extract Method | 1 | ||
Extract Method public storagespaceConsumedWithStriped() : QuotaCounts extracted from public storagespaceConsumed(bsp BlockStoragePolicy) : QuotaCounts in class org.apache.hadoop.hdfs.server.namenode.INodeFile | From | To |