5cfaee2e6db8b2ac55708de0968ff5539ee3bd76
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private logIOException(comment String, e IOException) : void renamed to private logException(comment String, t Throwable) : void in class org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type e : IOException to t : Throwable in method private logException(comment String, t Throwable) : void in class org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService | From | To | |
Extract Variable | 3 | ||
Extract Variable logFiles : FileStatus[] in method private deleteAppDirLogs(cutoffMillis long, fs FileSystem, rmClient ApplicationClientProtocol, appDir FileStatus) : void from class org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService.LogDeletionTask | From | To | |
Extract Variable appDirs : FileStatus[] in method private deleteOldLogDirsFrom(dir Path, cutoffMillis long, fs FileSystem, rmClient ApplicationClientProtocol) : void from class org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService.LogDeletionTask | From | To | |
Extract Variable appId : ApplicationId in method private deleteAppDirLogs(cutoffMillis long, fs FileSystem, rmClient ApplicationClientProtocol, appDir FileStatus) : void from class org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService.LogDeletionTask | From | To | |
Extract Method | 1 | ||
Extract Method private deleteAppDirLogs(cutoffMillis long, fs FileSystem, rmClient ApplicationClientProtocol, appDir FileStatus) : void extracted from private deleteOldLogDirsFrom(dir Path, cutoffMillis long, fs FileSystem, rmClient ApplicationClientProtocol) : void in class org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService.LogDeletionTask | From | To | |
Rename Parameter | 1 | ||
Rename Parameter e : IOException to t : Throwable in method private logException(comment String, t Throwable) : void in class org.apache.hadoop.yarn.logaggregation.AggregatedLogDeletionService | From | To |