fcf7f10b11231e8bb2054e600503b804e665e11d
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type hostname : String to address : WorkerNetAddress in method private findBlockWorkerInfo(workerInfoList List<BlockWorkerInfo>, address WorkerNetAddress) : BlockWorkerInfo in class tachyon.client.file.policy.RoundRobinPolicy | From | To | |
| Rename Variable | 4 | ||
| Rename Variable workInfoList : List<BlockWorkerInfo> to workerInfoList : List<BlockWorkerInfo> in method public noAvailableWorkerTest() : void in class tachyon.client.file.policy.MostAvailableFirstPolicyTest | From | To | |
| Rename Variable workInfoList : List<BlockWorkerInfo> to workerInfoList : List<BlockWorkerInfo> in method public getOthersWhenNotEnoughSpaceOnLocal() : void in class tachyon.client.file.policy.LocalFirstPolicyTest | From | To | |
| Rename Variable workInfoList : List<BlockWorkerInfo> to workerInfoList : List<BlockWorkerInfo> in method public getMostAvailableWorkerTest() : void in class tachyon.client.file.policy.MostAvailableFirstPolicyTest | From | To | |
| Rename Variable workInfoList : List<BlockWorkerInfo> to workerInfoList : List<BlockWorkerInfo> in method public getLocalFirst() : void in class tachyon.client.file.policy.LocalFirstPolicyTest | From | To | |
| Change Return Type | 4 | ||
| Change Return Type BlockWorkerInfo to WorkerNetAddress in method public getWorkerForNextBlock(workerInfoList List<BlockWorkerInfo>, blockSizeBytes long) : WorkerNetAddress in class tachyon.client.file.policy.FileWriteLocationPolicy | From | To | |
| Change Return Type String to WorkerNetAddress in method public getWorkerForNextBlock(workerInfoList List<BlockWorkerInfo>, blockSizeBytes long) : WorkerNetAddress in class tachyon.client.file.policy.RoundRobinPolicy | From | To | |
| Change Return Type String to WorkerNetAddress in method public getWorkerForNextBlock(workerInfoList List<BlockWorkerInfo>, blockSizeBytes long) : WorkerNetAddress in class tachyon.client.file.policy.LocalFirstPolicy | From | To | |
| Change Return Type String to WorkerNetAddress in method public getWorkerForNextBlock(workerInfoList List<BlockWorkerInfo>, blockSizeBytes long) : WorkerNetAddress in class tachyon.client.file.policy.MostAvailableFirstPolicy | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type result : String to result : WorkerNetAddress in method public getWorkerForNextBlock(workerInfoList List<BlockWorkerInfo>, blockSizeBytes long) : WorkerNetAddress in class tachyon.client.file.policy.MostAvailableFirstPolicy | From | To | |
| Change Variable Type candidate : String to candidate : WorkerNetAddress in method public getWorkerForNextBlock(workerInfoList List<BlockWorkerInfo>, blockSizeBytes long) : WorkerNetAddress in class tachyon.client.file.policy.RoundRobinPolicy | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter hostname : String to address : WorkerNetAddress in method private findBlockWorkerInfo(workerInfoList List<BlockWorkerInfo>, address WorkerNetAddress) : BlockWorkerInfo in class tachyon.client.file.policy.RoundRobinPolicy | From | To |