7f083ed8699a720d3fb82e4ec310356902a6ac30
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable shouldExit : boolean to shouldFailService : boolean in method public transition(compInstance ComponentInstance, event ComponentInstanceEvent) : void in class org.apache.hadoop.yarn.service.component.instance.ComponentInstance.ContainerStoppedTransition | From | To | |
Extract Method | 4 | ||
Extract Method public createDef(name String, serviceDef Service) : Service extracted from public createBaseDef(name String) : Service in class org.apache.hadoop.yarn.service.TestServiceManager | From | To | |
Extract Method private updateStateForLongRunningComponents(component Component) : ComponentState extracted from private checkIfStable(component Component) : ComponentState in class org.apache.hadoop.yarn.service.component.Component | From | To | |
Extract Method public createTestContext(fsWatcher ServiceTestUtils.ServiceFSWatcher, serviceDef Service) : ServiceContext extracted from public createTestContext(fsWatcher ServiceTestUtils.ServiceFSWatcher, serviceName String) : ServiceContext in class org.apache.hadoop.yarn.service.component.TestComponent | From | To | |
Extract Method private updateStateForTerminatingComponents(component Component) : ComponentState extracted from private checkIfStable(component Component) : ComponentState in class org.apache.hadoop.yarn.service.component.Component | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method package handleComponentInstanceRelaunch(compInstance ComponentInstance, event ComponentInstanceEvent) : void extracted from public transition(compInstance ComponentInstance, event ComponentInstanceEvent) : void in class org.apache.hadoop.yarn.service.component.instance.ComponentInstance.ContainerStoppedTransition & moved to class org.apache.hadoop.yarn.service.component.instance.ComponentInstance | From | To |