22f5bb4203ec365ad990060e78eff19b73b4e7a1
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 5 | ||
Rename Method public getOccupiedSize(buf ByteBuffer) : int renamed to private getDirectCount(buf ByteBuffer) : int in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To | |
Rename Method public getAllCount(buf ByteBuffer) : int renamed to private getIndirectCount(buf ByteBuffer) : int in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To | |
Rename Method public getLiveCount(buf ByteBuffer) : int renamed to private setItem(buf ByteBuffer, idx int, item short) : void in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To | |
Rename Method private offset(idx int) : int renamed to private itemOffset(idx int) : int in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To | |
Rename Method private entrySize(keySize int, valSize int) : int renamed to private getEntrySize(keySize int, valSize int) : int in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To | |
Rename Variable | 1 | ||
Rename Variable res : GridH2Row to row : GridH2Row in method public getRow(link long) : GridH2Row in class org.apache.ignite.internal.processors.query.h2.database.H2RowStore | From | To | |
Change Return Type | 1 | ||
Change Return Type int to void in method private setItem(buf ByteBuffer, idx int, item short) : void in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To | |
Extract Attribute | 2 | ||
Extract Attribute private VER_SIZE : int in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To | |
Extract Attribute private KV_LEN_SIZE : int in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To | |
Extract Method | 1 | ||
Extract Method private toOffset(directItem short) : int extracted from public getDataOffset(buf ByteBuffer, idx int) : int in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To | |
Rename Parameter | 2 | ||
Rename Parameter idx : int to itemId : int in method public getDataOffset(buf ByteBuffer, itemId int) : int in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To | |
Rename Parameter idx : int to dataOff : int in method private getKeyValueSize(buf ByteBuffer, dataOff int) : int in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To |