17bcf14fea2637fe0e5ca23bb0008c1cca208c98
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public buildCellBlock(codec Codec, compressor CompressionCodec, cellScanner CellScanner, pool BoundedByteBufferPool) : ByteBuffer renamed to public buildCellBlockStream(codec Codec, compressor CompressionCodec, cellScanner CellScanner, pool ByteBufferPool) : ByteBufferListOutputStream in class org.apache.hadoop.hbase.ipc.IPCUtil | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type pool : BoundedByteBufferPool to pool : ByteBufferPool in method public buildCellBlockStream(codec Codec, compressor CompressionCodec, cellScanner CellScanner, pool ByteBufferPool) : ByteBufferListOutputStream in class org.apache.hadoop.hbase.ipc.IPCUtil | From | To | |
| Rename Variable | 1 | ||
| Rename Variable baos : ByteBufferOutputStream to bbos : ByteBufferListOutputStream in method public buildCellBlockStream(codec Codec, compressor CompressionCodec, cellScanner CellScanner, pool ByteBufferPool) : ByteBufferListOutputStream in class org.apache.hadoop.hbase.ipc.IPCUtil | From | To | |
| Change Return Type | 1 | ||
| Change Return Type ByteBuffer to ByteBufferListOutputStream in method public buildCellBlockStream(codec Codec, compressor CompressionCodec, cellScanner CellScanner, pool ByteBufferPool) : ByteBufferListOutputStream in class org.apache.hadoop.hbase.ipc.IPCUtil | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable baos : ByteBufferOutputStream to bbos : ByteBufferOutputStream in method private encodeCellsTo(bbos ByteBufferOutputStream, cellScanner CellScanner, codec Codec, compressor CompressionCodec) : void in class org.apache.hadoop.hbase.ipc.IPCUtil | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute buf : ByteBuffer to curBuf : ByteBuffer in class org.apache.hadoop.hbase.io.ByteBufferOutputStream | From | To | |
| Rename Attribute cellBlock : ByteBuffer to cellBlockStream : ByteBufferListOutputStream in class org.apache.hadoop.hbase.ipc.RpcServer.Call | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type baos : ByteBufferOutputStream to bbos : ByteBufferListOutputStream in method public buildCellBlockStream(codec Codec, compressor CompressionCodec, cellScanner CellScanner, pool ByteBufferPool) : ByteBufferListOutputStream in class org.apache.hadoop.hbase.ipc.IPCUtil | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type reservoir : BoundedByteBufferPool to reservoir : ByteBufferPool in class org.apache.hadoop.hbase.ipc.RpcServer | From | To | |
| Change Attribute Type cellBlock : ByteBuffer to cellBlockStream : ByteBufferListOutputStream in class org.apache.hadoop.hbase.ipc.RpcServer.Call | From | To | |
| Extract Method | 2 | ||
| Extract Method private encodeCellsTo(bbos ByteBufferOutputStream, cellScanner CellScanner, codec Codec, compressor CompressionCodec) : void extracted from public buildCellBlock(codec Codec, compressor CompressionCodec, cellScanner CellScanner, pool BoundedByteBufferPool) : ByteBuffer in class org.apache.hadoop.hbase.ipc.IPCUtil | From | To | |
| Extract Method private setExceptionResponse(t Throwable, errorMsg String, headerBuilder ResponseHeader.Builder) : void extracted from protected setResponse(m Object, cells CellScanner, t Throwable, errorMsg String) : void in class org.apache.hadoop.hbase.ipc.RpcServer.Call | From | To |