8f7d4bb09f760780dd193c97796ebf4d22cfd2d7
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Parameterize Variable | 1 | ||
Parameterize Variable fileToAppend : Path to file : Path in method package createAndHflush(fs FileSystem, file Path, data byte[], length int) : FSDataOutputStream in class org.apache.hadoop.hdfs.server.namenode.ha.TestHAAppend | From | To | |
Extract Method | 5 | ||
Extract Method public checkFullFile(fs FileSystem, name Path, len int, compareContent byte[], message String, checkFileStatus boolean) : void extracted from public checkFullFile(fs FileSystem, name Path, len int, compareContent byte[], message String) : void in class org.apache.hadoop.hdfs.AppendTestUtil | From | To | |
Extract Method public checkBlockRecovery(p Path, dfs DistributedFileSystem) : void extracted from package checkBlockRecovery(p Path) : void in class org.apache.hadoop.hdfs.server.namenode.TestFileTruncate | From | To | |
Extract Method package createAndHflush(fs FileSystem, file Path, data byte[], length int) : FSDataOutputStream extracted from public testMultipleAppendsDuringCatchupTailing() : void in class org.apache.hadoop.hdfs.server.namenode.ha.TestHAAppend | From | To | |
Extract Method package getLocatedBlocks(src Path, dfs DistributedFileSystem) : LocatedBlocks extracted from package getLocatedBlocks(src Path) : LocatedBlocks in class org.apache.hadoop.hdfs.server.namenode.TestFileTruncate | From | To |