0bc15cb6e60dc60885234e01dec1c7cb4557a926
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method package getDiffs(report SnapshotDiffReport, targetDir Path) : DiffInfo[] from class org.apache.hadoop.tools.DiffInfo to private getRenameAndDeleteDiffs(targetDir Path) : DiffInfo[] from class org.apache.hadoop.tools.DistCpSync | From | To | |
Rename Variable | 1 | ||
Rename Variable diffs : DiffInfo[] to renameAndDeleteDiffs : DiffInfo[] in method public sync() : boolean in class org.apache.hadoop.tools.DistCpSync | From | To | |
Change Return Type | 1 | ||
Change Return Type void to int in method private changeData(dir Path) : int in class org.apache.hadoop.tools.TestDistCpSync | From | To | |
Extract Method | 7 | ||
Extract Method private syncAndVerify() : void extracted from public testSync3() : void in class org.apache.hadoop.tools.TestDistCpSync | From | To | |
Extract Method private enableAndCreateFirstSnapshot() : void extracted from public testSync2() : void in class org.apache.hadoop.tools.TestDistCpSync | From | To | |
Extract Method private enableAndCreateFirstSnapshot() : void extracted from public testSync3() : void in class org.apache.hadoop.tools.TestDistCpSync | From | To | |
Extract Method private enableAndCreateFirstSnapshot() : void extracted from public testSyncWithCurrent() : void in class org.apache.hadoop.tools.TestDistCpSync | From | To | |
Extract Method private enableAndCreateFirstSnapshot() : void extracted from public testSync() : void in class org.apache.hadoop.tools.TestDistCpSync | From | To | |
Extract Method private syncAndVerify() : void extracted from public testSync2() : void in class org.apache.hadoop.tools.TestDistCpSync | From | To | |
Extract Method private preSyncCheck() : boolean extracted from package sync(inputOptions DistCpOptions, conf Configuration) : boolean in class org.apache.hadoop.tools.DistCpSync | From | To |