f271d377357ad680924d19f07e6c8315e7c89bae
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 16
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 1 | ||
Move Method private createSimpleReservationDefinition(arrival long, deadline long, duration long) : ReservationDefinition from class org.apache.hadoop.yarn.server.resourcemanager.reservation.TestInMemoryReservationAllocation to public createSimpleReservationDefinition(arrival long, deadline long, duration long) : ReservationDefinition from class org.apache.hadoop.yarn.server.resourcemanager.reservation.ReservationSystemTestUtil | From | To | |
Rename Variable | 3 | ||
Rename Variable childData : byte[] to fileData : byte[] in method private processDirectoriesOfFiles(rmAppStateFileProcessor RMStateFileProcessor, rootDirectory Path) : void in class org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore | From | To | |
Rename Variable childNodeStatus : FileStatus to fileNodeStatus : FileStatus in method private processDirectoriesOfFiles(rmAppStateFileProcessor RMStateFileProcessor, rootDirectory Path) : void in class org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore | From | To | |
Rename Variable childNodeName : String to dirName : String in method private processDirectoriesOfFiles(rmAppStateFileProcessor RMStateFileProcessor, rootDirectory Path) : void in class org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore | From | To | |
Extract Method | 1 | ||
Extract Method private processDirectoriesOfFiles(rmAppStateFileProcessor RMStateFileProcessor, rootDirectory Path) : void extracted from private loadRMAppState(rmState RMState) : void in class org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore | From | To |