71329e817b99dbee630f902fa3640c3c93f04a44
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 4 | ||
Move Method public testWritePreadWithDNFailure() : void from class org.apache.hadoop.hdfs.TestWriteReadStripedFile to private testWritePreadWithDNFailure(file String, startOffsetInFile int) : void from class org.apache.hadoop.hdfs.TestReadStripedFileWithDecoding | From | To | |
Move Method private readAll(in FSDataInputStream, buf byte[]) : int from class org.apache.hadoop.hdfs.TestWriteReadStripedFile to package readAll(in FSDataInputStream, buf byte[]) : int from class org.apache.hadoop.hdfs.StripedFileTestUtil | From | To | |
Move Method private generateBytes(cnt int) : byte[] from class org.apache.hadoop.hdfs.TestWriteReadStripedFile to package generateBytes(cnt int) : byte[] from class org.apache.hadoop.hdfs.StripedFileTestUtil | From | To | |
Move Method private getByte(pos long) : byte from class org.apache.hadoop.hdfs.TestWriteReadStripedFile to package getByte(pos long) : byte from class org.apache.hadoop.hdfs.StripedFileTestUtil | From | To | |
Move Attribute | 7 | ||
Move Attribute private stripesPerBlock : int from class org.apache.hadoop.hdfs.TestWriteReadStripedFile to package stripesPerBlock : int from class org.apache.hadoop.hdfs.StripedFileTestUtil | From | To | |
Move Attribute private dataBlocks : int from class org.apache.hadoop.hdfs.TestWriteReadStripedFile to package dataBlocks : int from class org.apache.hadoop.hdfs.StripedFileTestUtil | From | To | |
Move Attribute package blockSize : int from class org.apache.hadoop.hdfs.TestWriteReadStripedFile to package blockSize : int from class org.apache.hadoop.hdfs.StripedFileTestUtil | From | To | |
Move Attribute private cellSize : int from class org.apache.hadoop.hdfs.TestWriteReadStripedFile to package cellSize : int from class org.apache.hadoop.hdfs.StripedFileTestUtil | From | To | |
Move Attribute private r : Random from class org.apache.hadoop.hdfs.TestWriteReadStripedFile to package r : Random from class org.apache.hadoop.hdfs.StripedFileTestUtil | From | To | |
Move Attribute private parityBlocks : int from class org.apache.hadoop.hdfs.TestWriteReadStripedFile to package parityBlocks : int from class org.apache.hadoop.hdfs.StripedFileTestUtil | From | To | |
Move Attribute package numDNs : int from class org.apache.hadoop.hdfs.TestWriteReadStripedFile to package numDNs : int from class org.apache.hadoop.hdfs.StripedFileTestUtil | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.hadoop.hdfs.StripedFileTestUtil from class org.apache.hadoop.hdfs.TestWriteReadStripedFile | From | To | |
Extract Method | 1 | ||
Extract Method public writeFile(fs FileSystem, p Path, bytes byte[]) : void extracted from public writeFile(fs FileSystem, p Path, s String) : void in class org.apache.hadoop.hdfs.DFSTestUtil | From | To |