da29af1bd92333e20150d0e5eb28af23c086e054
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type buff : ByteBuffer to dataBuffer : DataBuffer in method public NioBuffer(dataBuffer DataBuffer) in class org.lealone.net.nio.NioBuffer | From | To | |
| Rename Variable | 3 | ||
| Rename Variable newBuffer : ByteBuffer to newDataBuffer : DataBuffer in method public getBuffer(start int, end int) : NioBuffer in class org.lealone.net.nio.NioBuffer | From | To | |
| Rename Variable buffer : ByteBuffer to newDataBuffer : DataBuffer in method public slice(start int, end int) : NioBuffer in class org.lealone.net.nio.NioBuffer | From | To | |
| Rename Variable newBuff : ByteBuffer to newDataBuffer : DataBuffer in method public appendBuffer(buff NetBuffer) : NioBuffer in class org.lealone.net.nio.NioBuffer | From | To | |
| Change Return Type | 1 | ||
| Change Return Type NetBuffer to NioBuffer in method public createBuffer(initialSizeHint int) : NioBuffer in class org.lealone.net.nio.NioBufferFactory | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute buffer : ByteBuffer to dataBuffer : DataBuffer in class org.lealone.net.nio.NioBuffer | From | To | |
| Change Variable Type | 3 | ||
| Change Variable Type buffer : ByteBuffer to newDataBuffer : DataBuffer in method public slice(start int, end int) : NioBuffer in class org.lealone.net.nio.NioBuffer | From | To | |
| Change Variable Type newBuffer : ByteBuffer to newDataBuffer : DataBuffer in method public getBuffer(start int, end int) : NioBuffer in class org.lealone.net.nio.NioBuffer | From | To | |
| Change Variable Type newBuff : ByteBuffer to newDataBuffer : DataBuffer in method public appendBuffer(buff NetBuffer) : NioBuffer in class org.lealone.net.nio.NioBuffer | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type buffer : ByteBuffer to dataBuffer : DataBuffer in class org.lealone.net.nio.NioBuffer | From | To | |
| Inline Variable | 1 | ||
| Inline Variable newBuff : ByteBuffer in method public appendBuffer(buff NetBuffer) : NioBuffer from class org.lealone.net.nio.NioBuffer | From | To | |
| Extract And Move Method | 5 | ||
| Extract And Move Method public slice(start int, end int) : DataBuffer extracted from public slice(start int, end int) : NioBuffer in class org.lealone.net.nio.NioBuffer & moved to class org.lealone.db.DataBuffer | From | To | |
| Extract And Move Method public create(buff ByteBuffer) : DataBuffer extracted from package handle(buffer ByteBuffer, lastBuffer ByteBuffer, conn AsyncConnection) : ByteBuffer in class org.lealone.net.nio.NioNetClient & moved to class org.lealone.db.DataBuffer | From | To | |
| Extract And Move Method public getBuffer(start int, end int) : DataBuffer extracted from public getBuffer(start int, end int) : NioBuffer in class org.lealone.net.nio.NioBuffer & moved to class org.lealone.db.DataBuffer | From | To | |
| Extract And Move Method public putByte(index int, value byte) : DataBuffer extracted from public setByte(pos int, b byte) : NioBuffer in class org.lealone.net.nio.NioBuffer & moved to class org.lealone.db.DataBuffer | From | To | |
| Extract And Move Method public getUnsignedByte(pos int) : short extracted from public getUnsignedByte(pos int) : short in class org.lealone.net.nio.NioBuffer & moved to class org.lealone.db.DataBuffer | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter buff : ByteBuffer to dataBuffer : DataBuffer in method public NioBuffer(dataBuffer DataBuffer) in class org.lealone.net.nio.NioBuffer | From | To |