17502b846e60c6b4a00e0271a5ef9dd37d1f14c5
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Variable | 2 | ||
| Rename Variable dirLocation : BlockStoreLocation to blockDir : BlockStoreLocation in method public freeSpace(bytesToBeAvailable long, location BlockStoreLocation) : EvictionPlan in class tachyon.worker.block.evictor.LRUEvictor | From | To | |
| Rename Variable meta : BlockMeta to block : BlockMeta in method private freeSpace(bytesToBeAvailable long, location BlockStoreLocation, plan EvictionPlan) : StorageDir in class tachyon.worker.block.evictor.LRUEvictor | From | To | |
| Change Return Type | 1 | ||
| Change Return Type boolean to StorageDir in method private alreadyAvailable(bytesToBeAvailable long, location BlockStoreLocation) : StorageDir in class tachyon.worker.block.evictor.LRUEvictor | From | To | |
| Extract Variable | 1 | ||
| Extract Variable candidateDir : StorageDir in method private freeSpace(bytesToBeAvailable long, location BlockStoreLocation, plan EvictionPlan) : StorageDir from class tachyon.worker.block.evictor.LRUEvictor | From | To | |
| Inline Variable | 1 | ||
| Inline Variable plan : EvictionPlan in method public freeSpace(bytesToBeAvailable long, location BlockStoreLocation) : EvictionPlan from class tachyon.worker.block.evictor.LRUEvictor | From | To | |
| Extract Method | 1 | ||
| Extract Method private freeSpace(bytesToBeAvailable long, location BlockStoreLocation, plan EvictionPlan) : StorageDir extracted from public freeSpace(bytesToBeAvailable long, location BlockStoreLocation) : EvictionPlan in class tachyon.worker.block.evictor.LRUEvictor | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public isEmpty() : boolean extracted from public freeSpace(bytesToBeAvailable long, location BlockStoreLocation) : EvictionPlan in class tachyon.worker.block.evictor.LRUEvictor & moved to class tachyon.worker.block.evictor.EvictionPlan | From | To |