26983c3055cb9701eebb436728263f5f8ee2ae75
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 1 | ||
Move And Inline Method public removeBlockMeta(blockId long) : boolean moved from class tachyon.worker.block.meta.StorageTier to class tachyon.worker.block.BlockMetadataManager & inlined to public removeBlockMeta(blockId long) : boolean | From | To | |
Change Return Type | 1 | ||
Change Return Type Set<StorageTier> to List<StorageTier> in method public getTiers() : List<StorageTier> in class tachyon.worker.block.BlockMetadataManager | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [blockId : long, blockSize : long] to block : BlockMeta in method public addBlockMeta(block BlockMeta) : Optional<BlockMeta> in class tachyon.worker.block.meta.StorageDir | From | To | |
Rename Attribute | 1 | ||
Rename Attribute mIdToStorageDirMap : List<StorageDir> to mDirs : List<StorageDir> in class tachyon.worker.block.meta.StorageTier | From | To | |
Extract Method | 3 | ||
Extract Method public removeTempBlockMeta(tempBlockMeta TempBlockMeta) : boolean extracted from public removeTempBlockMeta(blockId long) : boolean in class tachyon.worker.block.meta.StorageDir | From | To | |
Extract Method public addBlockMeta(block BlockMeta) : Optional<BlockMeta> extracted from public addBlockMeta(userId long, blockId long, blockSize long) : Optional<BlockMeta> in class tachyon.worker.block.meta.StorageDir | From | To | |
Extract Method public removeBlockMeta(block BlockMeta) : boolean extracted from public removeBlockMeta(blockId long) : boolean in class tachyon.worker.block.meta.StorageDir | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type mTiers : Map<Integer,StorageTier> to mTiers : List<StorageTier> in class tachyon.worker.block.BlockMetadataManager | From | To |