6dba3c5dad4eafb39fe3e9c27e21bd05a4085ef9
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable len : int to dataLen : int in method public putValue(buf ByteBuffer, off int, len int, ctx CacheObjectContext) : boolean in class org.apache.ignite.internal.binary.BinaryEnumObjectImpl | From | To | |
Rename Variable len : int to dataLen : int in method public putValue(buf ByteBuffer, off int, len int, ctx CacheObjectContext) : boolean in class org.apache.ignite.internal.binary.BinaryObjectImpl | From | To | |
Extract Variable | 2 | ||
Extract Variable coctx : CacheObjectContext in method public insertRow(row CacheDataRow) : void from class org.apache.ignite.internal.processors.cache.database.freelist.FreeList | From | To | |
Extract Variable dataLen : int in method public putValue(buf ByteBuffer, off int, len int, ctx CacheObjectContext) : boolean from class org.apache.ignite.internal.processors.cache.CacheObjectAdapter | From | To | |
Extract Method | 9 | ||
Extract Method private writeItemId(buf ByteBuffer, entrySizeWithItem int, directCnt int, indirectCnt int, dataOff int) : int extracted from public addRow(coctx CacheObjectContext, buf ByteBuffer, key CacheObject, val CacheObject, ver GridCacheVersion, entrySizeWithItem int) : int in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To | |
Extract Method public putValue(buf ByteBuffer, off int, len int, ctx CacheObjectContext) : boolean extracted from public putValue(buf ByteBuffer, ctx CacheObjectContext) : boolean in class org.apache.ignite.internal.binary.BinaryEnumObjectImpl | From | To | |
Extract Method private compactIfNeed(buf ByteBuffer, entrySizeWithItem int, directCnt int, indirectCnt int, dataOff int) : int extracted from public addRow(coctx CacheObjectContext, buf ByteBuffer, key CacheObject, val CacheObject, ver GridCacheVersion, entrySizeWithItem int) : int in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To | |
Extract Method public putValue(buf ByteBuffer, off int, len int, ctx CacheObjectContext) : boolean extracted from public putValue(buf ByteBuffer, ctx CacheObjectContext) : boolean in class org.apache.ignite.internal.binary.BinaryObjectImpl | From | To | |
Extract Method private writeGridCacheVersion(buf ByteBuffer, ver GridCacheVersion) : void extracted from private writeRowData(coctx CacheObjectContext, buf ByteBuffer, dataOff int, entrySize int, key CacheObject, val CacheObject, ver GridCacheVersion) : void in class org.apache.ignite.internal.processors.cache.database.tree.io.DataPageIO | From | To | |
Extract Method private readVersion(buf ByteBuffer) : GridCacheVersion extracted from public getRow(link long) : GridH2Row in class org.apache.ignite.internal.processors.query.h2.database.H2RowFactory | From | To | |
Extract Method public putValue(buf ByteBuffer, off int, len int, ctx CacheObjectContext) : boolean extracted from public putValue(buf ByteBuffer, ctx CacheObjectContext) : boolean in class org.apache.ignite.internal.binary.BinaryObjectOffheapImpl | From | To | |
Extract Method private readVersion(buf ByteBuffer) : GridCacheVersion extracted from protected doInitData(buf ByteBuffer) : void in class org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.DataRow | From | To | |
Extract Method public putValue(buf ByteBuffer, off int, len int, ctx CacheObjectContext) : boolean extracted from public putValue(buf ByteBuffer, ctx CacheObjectContext) : boolean in class org.apache.ignite.internal.processors.cache.CacheObjectAdapter | From | To |