48b77dbcbccf9683f4da160dedb218bef9ae8bca
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method protected validateBlockChecksum(block HFileBlock, offset long, data byte[], hdrSize int) : boolean renamed to protected validateChecksum(offset long, data ByteBuffer, hdrSize int) : boolean in class org.apache.hadoop.hbase.io.hfile.HFileBlock.FSReaderImpl | From | To | |
Rename Method package validateBlockChecksum(pathName String, offset long, block HFileBlock, data byte[], hdrSize int) : boolean renamed to package validateChecksum(buffer ByteBuffer, pathName String, offset long, hdrSize int) : boolean in class org.apache.hadoop.hbase.io.hfile.ChecksumUtil | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type data : byte[] to data : ByteBuffer in method protected validateChecksum(offset long, data ByteBuffer, hdrSize int) : boolean in class org.apache.hadoop.hbase.io.hfile.HFileBlock.FSReaderImpl | From | To | |
Rename Variable | 1 | ||
Rename Variable sizeWithHeader : int to onDiskDataSizeWithHeader : int in method package validateChecksum(buffer ByteBuffer, pathName String, offset long, hdrSize int) : boolean in class org.apache.hadoop.hbase.io.hfile.ChecksumUtil | From | To | |
Extract Variable | 1 | ||
Extract Variable onDiskBlockByteBuffer : ByteBuffer in method protected readBlockDataInternal(is FSDataInputStream, offset long, onDiskSizeWithHeaderL long, pread boolean, verifyChecksum boolean) : HFileBlock from class org.apache.hadoop.hbase.io.hfile.HFileBlock.FSReaderImpl | From | To |