e557c6bd8de2811a561210f672f47b4d07a9d5c6
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public testCheckStateAutoFinalize() : void renamed to public testAutoFinalize() : void in class org.apache.hadoop.yarn.service.TestServiceManager | From | To | |
Rename Method public testCheckState() : void renamed to public testFinalize() : void in class org.apache.hadoop.yarn.service.TestServiceManager | From | To | |
Rename Method private upgrade(serviceManager ServiceManager, version String, upgradeArtifact boolean, autoFinalize boolean) : void renamed to private initUpgrade(context ServiceContext, version String, upgradeArtifact boolean, autoFinalize boolean, expressUpgrade boolean) : void in class org.apache.hadoop.yarn.service.TestServiceManager | From | To | |
Rename Variable | 6 | ||
Rename Variable serviceManager : ServiceManager to manager : ServiceManager in method public testAutoFinalize() : void in class org.apache.hadoop.yarn.service.TestServiceManager | From | To | |
Rename Variable serviceManager : ServiceManager to manager : ServiceManager in method public testFinalize() : void in class org.apache.hadoop.yarn.service.TestServiceManager | From | To | |
Rename Variable serviceManager : ServiceManager to manager : ServiceManager in method public testInvalidUpgrade() : void in class org.apache.hadoop.yarn.service.TestServiceManager | From | To | |
Rename Variable serviceManager : ServiceManager to manager : ServiceManager in method public testAutoFinalizeNothingToUpgrade() : void in class org.apache.hadoop.yarn.service.TestServiceManager | From | To | |
Rename Variable serviceManager : ServiceManager to manager : ServiceManager in method public testRestartWithPendingUpgrade() : void in class org.apache.hadoop.yarn.service.TestServiceManager | From | To | |
Rename Variable serviceManager : ServiceManager to manager : ServiceManager in method public testRestartNothingToUpgrade() : void in class org.apache.hadoop.yarn.service.TestServiceManager | From | To | |
Move Class | 1 | ||
Move Class org.apache.hadoop.yarn.service.TestServiceApiUtil moved to org.apache.hadoop.yarn.service.utils.TestServiceApiUtil | From | To | |
Extract Method | 2 | ||
Extract Method private upgradePrecheck(service Service) : ApplicationReport extracted from public initiateUpgrade(service Service) : int in class org.apache.hadoop.yarn.service.client.ServiceClient | From | To | |
Extract Method protected createAsyncDispatcher() : AsyncDispatcher extracted from public buildInstance(context ServiceContext, configuration Configuration) : void in class org.apache.hadoop.yarn.service.ServiceScheduler | From | To |