ba7ed7b66a48c61086ea837f39ff0f22ffe31eca
Files Diff
- Added: 1
- Removed: 37
- Renamed: 0
- Modified: 16
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private checkCompCount(compName String, serviceName String, count long) : void renamed to private checkApp(serviceName String, compName String, count long, lifetime Long, queue String) : void in class org.apache.hadoop.yarn.service.client.TestServiceCLI | From | To | |
Rename Method protected actionFlexByCLI(args ClientArgs) : int renamed to public actionFlex(serviceName String, componentCountStrings Map<String,String>) : int in class org.apache.hadoop.yarn.service.client.ServiceClient | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type excludeOption : String to excludeOptions : String... in method private hasAnyOtherCLIOptions(cliParser CommandLine, opts Options, excludeOptions String...) : boolean in class org.apache.hadoop.yarn.client.cli.ApplicationCLI | From | To | |
Change Parameter Type args : ActionDependencyArgs to overwrite : boolean in method public actionDependency(overwrite boolean) : int in class org.apache.hadoop.yarn.service.client.ServiceClient | From | To | |
Change Return Type | 1 | ||
Change Return Type int to ApplicationReport in method private printApplicationReport(applicationId String) : ApplicationReport in class org.apache.hadoop.yarn.client.cli.ApplicationCLI | From | To | |
Move Attribute | 2 | ||
Move Attribute private LOG : Logger from class org.apache.hadoop.yarn.service.client.ServiceCLI to private LOG : Logger from class org.apache.hadoop.yarn.service.client.TestServiceCLI | From | To | |
Move Attribute public serviceDefPath : String from class org.apache.hadoop.yarn.service.client.params.ServiceAMCreateAction to private serviceDefPath : String from class org.apache.hadoop.yarn.service.ServiceMaster | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.hadoop.yarn.client.api.AppAdminClient from classes [org.apache.hadoop.yarn.service.client.ServiceClient] | From | To | |
Rename Parameter | 2 | ||
Rename Parameter excludeOption : String to excludeOptions : String... in method private hasAnyOtherCLIOptions(cliParser CommandLine, opts Options, excludeOptions String...) : boolean in class org.apache.hadoop.yarn.client.cli.ApplicationCLI | From | To | |
Rename Parameter args : ActionDependencyArgs to overwrite : boolean in method public actionDependency(overwrite boolean) : int in class org.apache.hadoop.yarn.service.client.ServiceClient | From | To |