6bd3109062060f735c73b268c44022c201e6072b
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method package getOnDiskBufferWithHeader() : ByteBuffer renamed to private cloneOnDiskBufferWithHeader() : ByteBuffer in class org.apache.hadoop.hbase.io.hfile.HFileBlock.Writer | From | To | |
| Rename Method package getUncompressedBufferWithHeader() : ByteBuffer renamed to package cloneUncompressedBufferWithHeader() : ByteBuffer in class org.apache.hadoop.hbase.io.hfile.HFileBlock.Writer | From | To | |
| Change Return Type | 3 | ||
| Change Return Type byte[] to Bytes in method public compressAndEncrypt(data byte[], offset int, length int) : Bytes in class org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext | From | To | |
| Change Return Type byte[] to Bytes in method public compressAndEncrypt(data byte[], offset int, length int) : Bytes in class org.apache.hadoop.hbase.io.encoding.HFileBlockDefaultEncodingContext | From | To | |
| Change Return Type void to Bytes in method private compressAfterEncoding(uncompressedBytesWithHeaderBuffer byte[], uncompressedBytesWithHeaderOffset int, uncompressedBytesWithHeaderLength int, headerBytes byte[]) : Bytes in class org.apache.hadoop.hbase.io.encoding.HFileBlockDefaultEncodingContext | From | To | |
| Extract Method | 1 | ||
| Extract Method private putHeader(dest ByteArrayOutputStream, onDiskSize int, uncompressedSize int, onDiskDataSize int) : void extracted from private finishBlock() : void in class org.apache.hadoop.hbase.io.hfile.HFileBlock.Writer | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type onDiskBlockBytesWithHeader : byte[] to onDiskBlockBytesWithHeader : ByteArrayOutputStream in class org.apache.hadoop.hbase.io.hfile.HFileBlock.Writer | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter uncompressedBytesWithHeader : byte[] to data : byte[] in method public compressAndEncrypt(data byte[], offset int, length int) : Bytes in class org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContext | From | To | |
| Rename Parameter uncompressedBytesWithHeader : byte[] to data : byte[] in method public compressAndEncrypt(data byte[], offset int, length int) : Bytes in class org.apache.hadoop.hbase.io.encoding.HFileBlockDefaultEncodingContext | From | To | |
| Rename Parameter uncompressedBytesWithHeader : byte[] to uncompressedBytesWithHeaderBuffer : byte[] in method private compressAfterEncoding(uncompressedBytesWithHeaderBuffer byte[], uncompressedBytesWithHeaderOffset int, uncompressedBytesWithHeaderLength int, headerBytes byte[]) : Bytes in class org.apache.hadoop.hbase.io.encoding.HFileBlockDefaultEncodingContext | From | To |