0790275f058b0cf41780ad337c9150a1e8ebebc6
Files Diff
- Added: 6
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move Method | 1 | ||
| Move Method protected shouldCopy(path Path, options DistCpOptions) : boolean from class org.apache.hadoop.tools.SimpleCopyListing to public shouldCopy(path Path) : boolean from class org.apache.hadoop.tools.TrueCopyFilter | From | To | |
| Inline Variable | 1 | ||
| Inline Variable status : FileStatus in method private writeToFileListing(fileListWriter SequenceFile.Writer, fileStatus CopyListingFileStatus, sourcePathRoot Path, options DistCpOptions) : void from class org.apache.hadoop.tools.SimpleCopyListing | From | To | |
| Extract Method | 7 | ||
| Extract Method private parseSourceAndTargetPaths(command CommandLine) : DistCpOptions extracted from public parse(args String[]) : DistCpOptions in class org.apache.hadoop.tools.OptionsParser | From | To | |
| Extract Method private parseBandwidth(command CommandLine, option DistCpOptions) : void extracted from public parse(args String[]) : DistCpOptions in class org.apache.hadoop.tools.OptionsParser | From | To | |
| Extract Method private parseFileLimit(command CommandLine) : void extracted from public parse(args String[]) : DistCpOptions in class org.apache.hadoop.tools.OptionsParser | From | To | |
| Extract Method private parseMaxMaps(command CommandLine, option DistCpOptions) : void extracted from public parse(args String[]) : DistCpOptions in class org.apache.hadoop.tools.OptionsParser | From | To | |
| Extract Method private parsePreserveStatus(command CommandLine, option DistCpOptions) : void extracted from public parse(args String[]) : DistCpOptions in class org.apache.hadoop.tools.OptionsParser | From | To | |
| Extract Method private parseSizeLimit(command CommandLine) : void extracted from public parse(args String[]) : DistCpOptions in class org.apache.hadoop.tools.OptionsParser | From | To | |
| Extract Method private parseNumListStatusThreads(command CommandLine, option DistCpOptions) : void extracted from public parse(args String[]) : DistCpOptions in class org.apache.hadoop.tools.OptionsParser | From | To |