0ebd70d126a0bfa47258ba87fc9e06b289b970c0
Files Diff
- Added: 7
- Removed: 2
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 6 | ||
Pull Up Method public write(b byte[], off int, len int) : void from class alluxio.client.block.stream.BlockOutStream to public write(b byte[], off int, len int) : void from class alluxio.client.block.stream.PacketOutStream | From | To | |
Pull Up Method public write(b byte[]) : void from class alluxio.client.block.stream.BlockOutStream to public write(b byte[]) : void from class alluxio.client.block.stream.PacketOutStream | From | To | |
Pull Up Method public remaining() : long from class alluxio.client.block.stream.BlockOutStream to public remaining() : long from class alluxio.client.block.stream.PacketOutStream | From | To | |
Pull Up Method public write(b int) : void from class alluxio.client.block.stream.BlockOutStream to public write(b int) : void from class alluxio.client.block.stream.PacketOutStream | From | To | |
Pull Up Method private allocateBuffer() : ByteBuf from class alluxio.client.block.stream.BlockOutStream to private allocateBuffer() : ByteBuf from class alluxio.client.block.stream.PacketOutStream | From | To | |
Pull Up Method protected checkIfClosed() : void from class alluxio.client.block.stream.BlockOutStream to private checkIfClosed() : void from class alluxio.client.block.stream.PacketOutStream | From | To | |
Move Method | 1 | ||
Move Method private updateCurrentPacket() : void from class alluxio.client.block.stream.BlockOutStream to protected updateCurrentPacket(force boolean) : void from class alluxio.client.block.stream.PacketOutStream | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute protected mBlockSize : long from class alluxio.client.block.stream.BlockOutStream to protected mBlockSize : long from class alluxio.client.block.stream.PacketOutStream | From | To | |
Pull Up Attribute protected mCurrentPacket : ByteBuf from class alluxio.client.block.stream.BlockOutStream to protected mCurrentPacket : ByteBuf from class alluxio.client.block.stream.PacketOutStream | From | To | |
Pull Up Attribute protected mClosed : boolean from class alluxio.client.block.stream.BlockOutStream to protected mClosed : boolean from class alluxio.client.block.stream.PacketOutStream | From | To | |
Change Return Type | 3 | ||
Change Return Type WritableByteChannel to GatheringByteChannel in method public getChannel() : GatheringByteChannel in class alluxio.worker.block.io.LocalFileBlockWriter | From | To | |
Change Return Type WritableByteChannel to GatheringByteChannel in method public getChannel() : GatheringByteChannel in class alluxio.worker.block.io.BlockWriter | From | To | |
Change Return Type WritableByteChannel to GatheringByteChannel in method public getChannel() : GatheringByteChannel in class alluxio.worker.block.io.MockBlockWriter | From | To | |
Move Attribute | 2 | ||
Move Attribute protected mBlockId : long from class alluxio.client.block.stream.BlockOutStream to private mBlockId : long from class alluxio.client.block.stream.LocalPacketWriter | From | To | |
Move Attribute private mPos : long from class alluxio.client.block.stream.BlockOutStream to private mPos : long from class alluxio.client.block.stream.LocalPacketWriter | From | To | |
Extract Class | 1 | ||
Extract Class alluxio.client.block.stream.LocalPacketWriter from class alluxio.client.block.stream.BlockOutStream | From | To | |
Rename Class | 2 | ||
Rename Class alluxio.client.block.stream.NettyBlockWriter renamed to alluxio.client.block.stream.NettyPacketWriter | From | To | |
Rename Class alluxio.client.block.stream.BlockWriter renamed to alluxio.client.block.stream.PacketWriter | From | To | |
Extract Superclass | 1 | ||
Extract Superclass alluxio.client.block.stream.PacketOutStream from classes [alluxio.client.block.stream.BlockOutStream] | From | To |