8676a118a12165ae5a8b80a2a4596c133471ebc1
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 27
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Variable | 2 | ||
Extract Variable conf : YarnConfiguration in method public testExpireWhileRunning() : void from class org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.TestRMContainerImpl | From | To | |
Extract Variable conf : YarnConfiguration in method public testReleaseWhileRunning() : void from class org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.TestRMContainerImpl | From | To | |
Extract Method | 5 | ||
Extract Method private testSuccessLogFormatHelper(checkIP boolean, appId ApplicationId, attemptId ApplicationAttemptId, containerId ContainerId, callerContext CallerContext) : void extracted from private testSuccessLogFormatHelper(checkIP boolean, appId ApplicationId, attemptId ApplicationAttemptId, containerId ContainerId) : void in class org.apache.hadoop.yarn.server.resourcemanager.TestRMAuditLogger | From | To | |
Extract Method private testFailureLogFormatHelper(checkIP boolean, appId ApplicationId, attemptId ApplicationAttemptId, containerId ContainerId, callerContext CallerContext) : void extracted from private testFailureLogFormatHelper(checkIP boolean, appId ApplicationId, attemptId ApplicationAttemptId, containerId ContainerId) : void in class org.apache.hadoop.yarn.server.resourcemanager.TestRMAuditLogger | From | To | |
Extract Method package createFailureLog(user String, operation String, perm String, target String, description String, appId ApplicationId, attemptId ApplicationAttemptId, containerId ContainerId, callerContext CallerContext) : String extracted from package createFailureLog(user String, operation String, perm String, target String, description String, appId ApplicationId, attemptId ApplicationAttemptId, containerId ContainerId) : String in class org.apache.hadoop.yarn.server.resourcemanager.RMAuditLogger | From | To | |
Extract Method package createSuccessLog(user String, operation String, target String, appId ApplicationId, attemptId ApplicationAttemptId, containerId ContainerId, callerContext CallerContext) : String extracted from package createSuccessLog(user String, operation String, target String, appId ApplicationId, attemptId ApplicationAttemptId, containerId ContainerId) : String in class org.apache.hadoop.yarn.server.resourcemanager.RMAuditLogger | From | To | |
Extract Method public newInstance(submitTime long, startTime long, context ApplicationSubmissionContext, user String, callerContext CallerContext) : ApplicationStateData extracted from public newInstance(submitTime long, startTime long, context ApplicationSubmissionContext, user String) : ApplicationStateData in class org.apache.hadoop.yarn.server.resourcemanager.recovery.records.ApplicationStateData | From | To |