e307edcb472207a39d1cbe4be6f7fcddc7b4fd6d
Files Diff
- Added: 6
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private stopService(appName String, destroy boolean) : Response renamed to public deleteService(request HttpServletRequest, appName String) : Response in class org.apache.hadoop.yarn.service.webapp.ApiServer | From | To | |
Rename Variable | 1 | ||
Rename Variable serviceStatus : ServiceStatus to entity : ServiceStatus in method private formatResponse(status Status, message String) : Response in class org.apache.hadoop.yarn.service.webapp.ApiServer | From | To | |
Parameterize Variable | 4 | ||
Parameterize Variable status : ServiceStatus to entity : ServiceStatus in method private formatResponse(status Status, entity ServiceStatus) : Response in class org.apache.hadoop.yarn.service.webapp.ApiServer | From | To | |
Parameterize Variable serviceStatus : ServiceStatus to entity : ServiceStatus in method private formatResponse(status Status, entity ServiceStatus) : Response in class org.apache.hadoop.yarn.service.webapp.ApiServer | From | To | |
Extract Method | 8 | ||
Extract Method private formatResponse(status Status, message String) : Response extracted from private stopService(appName String, destroy boolean) : Response in class org.apache.hadoop.yarn.service.webapp.ApiServer | From | To | |
Extract Method private formatResponse(status Status, entity ServiceStatus) : Response extracted from public updateComponent(appName String, componentName String, component Component) : Response in class org.apache.hadoop.yarn.service.webapp.ApiServer | From | To | |
Extract Method private formatResponse(status Status, entity ServiceStatus) : Response extracted from private stopService(appName String, destroy boolean) : Response in class org.apache.hadoop.yarn.service.webapp.ApiServer | From | To | |
Extract Method private formatResponse(status Status, entity ServiceStatus) : Response extracted from private startService(appName String) : Response in class org.apache.hadoop.yarn.service.webapp.ApiServer | From | To | |
Extract Method private formatResponse(status Status, entity ServiceStatus) : Response extracted from public getService(appName String) : Response in class org.apache.hadoop.yarn.service.webapp.ApiServer | From | To | |
Extract Method private formatResponse(status Status, entity ServiceStatus) : Response extracted from public createService(service Service) : Response in class org.apache.hadoop.yarn.service.webapp.ApiServer | From | To | |
Extract Method private stopService(appName String, destroy boolean, ugi UserGroupInformation) : Response extracted from private stopService(appName String, destroy boolean) : Response in class org.apache.hadoop.yarn.service.webapp.ApiServer | From | To | |
Extract Method private formatResponse(status Status, entity ServiceStatus) : Response extracted from private updateLifetime(appName String, updateAppData Service) : Response in class org.apache.hadoop.yarn.service.webapp.ApiServer | From | To |