db41e6d285a3b425ffd7c11c7baa8253c7929439
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Rename Method | 1 | ||
| Move And Rename Method private internalTestConcurrentAsyncAPI(asyncCallLimit int, basePath String) : void from class org.apache.hadoop.hdfs.TestAsyncDFSRename to public testConcurrentAsyncAPI() : void from class org.apache.hadoop.hdfs.TestAsyncDFS | From | To | |
| Move Method | 2 | ||
| Move Method package checkAccessPermissions(stat FileStatus, mode FsAction) : void from class org.apache.hadoop.hdfs.TestAsyncDFSRename to package checkAccessPermissions(stat FileStatus, mode FsAction) : void from class org.apache.hadoop.hdfs.TestAsyncDFS | From | To | |
| Move Method package checkAccessPermissions(ugi UserGroupInformation, stat FileStatus, mode FsAction) : void from class org.apache.hadoop.hdfs.TestAsyncDFSRename to package checkAccessPermissions(ugi UserGroupInformation, stat FileStatus, mode FsAction) : void from class org.apache.hadoop.hdfs.TestAsyncDFS | From | To | |
| Rename Variable | 5 | ||
| Rename Variable returnFutures : Map<Integer,Future<Void>> to reFutures : Map<Integer,Future<Void>> in method public testCallGetReturnValueMultipleTimes() : void in class org.apache.hadoop.hdfs.TestAsyncDFSRename | From | To | |
| Rename Variable returnFuture : Future<Void> to retFuture : Future<Void> in method public testCallGetReturnValueMultipleTimes() : void in class org.apache.hadoop.hdfs.TestAsyncDFSRename | From | To | |
| Rename Variable adfs : AsyncDistributedFileSystem to adfs1 : AsyncDistributedFileSystem in method public testAsyncAPIWithException() : void in class org.apache.hadoop.hdfs.TestAsyncDFS | From | To | |
| Rename Variable renameDir : Path to parent : Path in method public testCallGetReturnValueMultipleTimes() : void in class org.apache.hadoop.hdfs.TestAsyncDFSRename | From | To | |
| Rename Variable count : int to srcs : Path[] in method public testCallGetReturnValueMultipleTimes() : void in class org.apache.hadoop.hdfs.TestAsyncDFSRename | From | To | |
| Move Attribute | 3 | ||
| Move Attribute private seed : long from class org.apache.hadoop.hdfs.TestAsyncDFSRename to private seed : long from class org.apache.hadoop.hdfs.TestAsyncDFS | From | To | |
| Move Attribute private permGenerator : PermissionGenerator from class org.apache.hadoop.hdfs.TestAsyncDFSRename to private permGenerator : PermissionGenerator from class org.apache.hadoop.hdfs.TestAsyncDFS | From | To | |
| Move Attribute private r : Random from class org.apache.hadoop.hdfs.TestAsyncDFSRename to private r : Random from class org.apache.hadoop.hdfs.TestAsyncDFS | From | To | |
| Merge Variable | 1 | ||
| Merge Variable [cluster : MiniDFSCluster, renameDir : Path, dfs : DistributedFileSystem] to dsts : Path[] in method public testCallGetReturnValueMultipleTimes() : void in class org.apache.hadoop.hdfs.TestAsyncDFSRename | From | To | |
| Replace Variable With Attribute | 1 | ||
| Replace Variable With Attribute dfs : DistributedFileSystem to fs : FileSystem in method public testCallGetReturnValueMultipleTimes() : void in class org.apache.hadoop.hdfs.TestAsyncDFSRename | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type dfs : DistributedFileSystem to fs : FileSystem in method public testCallGetReturnValueMultipleTimes() : void in class org.apache.hadoop.hdfs.TestAsyncDFSRename | From | To | |
| Change Variable Type count : int to srcs : Path[] in method public testCallGetReturnValueMultipleTimes() : void in class org.apache.hadoop.hdfs.TestAsyncDFSRename | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method package waitForReturnValues(retFutures Map<Integer,Future<Void>>, start int, end int) : void extracted from private waitForReturnValues(returnFutures Map<Integer,Future<Void>>, start int, end int) : void in class org.apache.hadoop.hdfs.TestAsyncDFSRename & moved to class org.apache.hadoop.hdfs.TestAsyncDFS | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter returnFutures : Map<Integer,Future<Void>> to retFutures : Map<Integer,Future<Void>> in method package waitForReturnValues(retFutures Map<Integer,Future<Void>>, start int, end int) : void in class org.apache.hadoop.hdfs.TestAsyncDFSRename | From | To |