c80b3a804f5222f95a266f84424af9cb9c229483
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method package getBlockFiles(cluster MiniDFSCluster) : List<File> renamed to private getMaterializedReplicas(cluster MiniDFSCluster) : List<MaterializedReplica> in class org.apache.hadoop.hdfs.TestDFSShell | From | To | |
| Rename Variable | 3 | ||
| Rename Variable files : List<File> to replicas : List<MaterializedReplica> in method private getMaterializedReplicas(cluster MiniDFSCluster) : List<MaterializedReplica> in class org.apache.hadoop.hdfs.TestDFSShell | From | To | |
| Rename Variable f : File to dn : DataNode in method private corruptBlockOnDataNodesHelper(block ExtendedBlock, deleteBlockFile boolean) : int in class org.apache.hadoop.hdfs.MiniDFSCluster | From | To | |
| Rename Variable files : List<File> to replicas : List<MaterializedReplica> in method public testGet() : void in class org.apache.hadoop.hdfs.TestDFSShell | From | To | |
| Change Return Type | 2 | ||
| Change Return Type boolean to void in method public corruptReplica(i int, blk ExtendedBlock) : void in class org.apache.hadoop.hdfs.MiniDFSCluster | From | To | |
| Change Return Type List<File> to List<MaterializedReplica> in method private getMaterializedReplicas(cluster MiniDFSCluster) : List<MaterializedReplica> in class org.apache.hadoop.hdfs.TestDFSShell | From | To | |
| Change Variable Type | 3 | ||
| Change Variable Type files : List<File> to replicas : List<MaterializedReplica> in method private getMaterializedReplicas(cluster MiniDFSCluster) : List<MaterializedReplica> in class org.apache.hadoop.hdfs.TestDFSShell | From | To | |
| Change Variable Type f : File to dn : DataNode in method private corruptBlockOnDataNodesHelper(block ExtendedBlock, deleteBlockFile boolean) : int in class org.apache.hadoop.hdfs.MiniDFSCluster | From | To | |
| Change Variable Type files : List<File> to replicas : List<MaterializedReplica> in method public testGet() : void in class org.apache.hadoop.hdfs.TestDFSShell | From | To |