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