952640fa4cbdc23fe8781e5627c2e8eab565c535
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type packets : List<Packet> to packets : List<DFSPacket> in method private releaseBuffer(packets List<DFSPacket>, bam ByteArrayManager) : void in class org.apache.hadoop.hdfs.DFSOutputStream | From | To | |
Change Return Type | 2 | ||
Change Return Type Packet to DFSPacket in method private createPacket(packetSize int, chunksPerPkt int, offsetInBlock long, seqno long, lastPacketInBlock boolean) : DFSPacket in class org.apache.hadoop.hdfs.DFSOutputStream | From | To | |
Change Return Type Packet to DFSPacket in method private createHeartbeatPacket() : DFSPacket in class org.apache.hadoop.hdfs.DFSOutputStream | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.hadoop.hdfs.DFSOutputStream.Packet moved and renamed to org.apache.hadoop.hdfs.DFSPacket | From | To | |
Change Variable Type | 4 | ||
Change Variable Type one : Packet to one : DFSPacket in method public run() : void in class org.apache.hadoop.hdfs.DFSOutputStream.DataStreamer | From | To | |
Change Variable Type endOfBlockPacket : Packet to endOfBlockPacket : DFSPacket in method private processDatanodeError() : boolean in class org.apache.hadoop.hdfs.DFSOutputStream.DataStreamer | From | To | |
Change Variable Type one : Packet to one : DFSPacket in method public run() : void in class org.apache.hadoop.hdfs.DFSOutputStream.DataStreamer.ResponseProcessor | From | To | |
Change Variable Type p : Packet to p : DFSPacket in method private releaseBuffer(packets List<DFSPacket>, bam ByteArrayManager) : void in class org.apache.hadoop.hdfs.DFSOutputStream | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type ackQueue : LinkedList<Packet> to ackQueue : LinkedList<DFSPacket> in class org.apache.hadoop.hdfs.DFSOutputStream | From | To | |
Change Attribute Type currentPacket : Packet to currentPacket : DFSPacket in class org.apache.hadoop.hdfs.DFSOutputStream | From | To | |
Change Attribute Type dataQueue : LinkedList<Packet> to dataQueue : LinkedList<DFSPacket> in class org.apache.hadoop.hdfs.DFSOutputStream | From | To |