6795f8072ffbe6138857e77d51af173f33e4e5c1
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Parameterize Variable | 1 | ||
Parameterize Variable configResource : LocalResource to localResource : LocalResource in method private addLocalResource(launcher AbstractLauncher, symlink String, localResource LocalResource, destFile Path) : void in class org.apache.hadoop.yarn.service.provider.ProviderUtils | From | To | |
Change Variable Type | 1 | ||
Change Variable Type destFile : File to destFile : Path in method public createConfigFileAndAddLocalResource(launcher AbstractLauncher, fs SliderFileSystem, compLaunchContext ContainerLaunchService.ComponentLaunchContext, tokensForSubstitution Map<String,String>, instance ComponentInstance, context ServiceContext) : void in class org.apache.hadoop.yarn.service.provider.ProviderUtils | From | To | |
Extract Variable | 1 | ||
Extract Variable fileType : ConfigFile.TypeEnum in method public validateConfigFiles(configFiles List<ConfigFile>, fs FileSystem) : void from class org.apache.hadoop.yarn.service.provider.AbstractClientProvider | From | To | |
Extract Method | 1 | ||
Extract Method private addLocalResource(launcher AbstractLauncher, symlink String, localResource LocalResource, destFile Path) : void extracted from public createConfigFileAndAddLocalResource(launcher AbstractLauncher, fs SliderFileSystem, compLaunchContext ContainerLaunchService.ComponentLaunchContext, tokensForSubstitution Map<String,String>, instance ComponentInstance, context ServiceContext) : void in class org.apache.hadoop.yarn.service.provider.ProviderUtils | From | To |