f1dbca52a8bad73b71b2aeea936e926f1fe6b511
Files Diff
- Added: 0
 - Removed: 0
 - Renamed: 0
 - Modified: 4
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method private allocateAndWriteIndexRoot(meta Page, cacheId int, idxNameBytes byte[], state SearchState) : FullPageId renamed to private allocateAndWrite(meta Page, type byte, cacheId int, nameBytes byte[], state SearchState) : FullPageId in class org.apache.ignite.internal.processors.cache.database.MetadataStorage | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type buf : ByteBuffer to page : Page in method public IgniteCacheDatabasePartitionManager(partCount int, page Page) in class org.apache.ignite.internal.processors.cache.database.IgniteCacheDatabasePartitionManager | From | To | |
| Rename Variable | 4 | ||
| Rename Variable allocatedRoot : FullPageId to allocatedRef : FullPageId in method private getOrAllocate(type byte, cacheId int, nameBytes byte[]) : IgniteBiTuple<FullPageId,Boolean> in class org.apache.ignite.internal.processors.cache.database.MetadataStorage | From | To | |
| Rename Variable idxRoot : FullPageId to newPageId : FullPageId in method private allocateAndWrite(meta Page, type byte, cacheId int, nameBytes byte[], state SearchState) : FullPageId in class org.apache.ignite.internal.processors.cache.database.MetadataStorage | From | To | |
| Rename Variable existingIdxRoot : FullPageId to existingRef : FullPageId in method private getOrAllocate(type byte, cacheId int, nameBytes byte[]) : IgniteBiTuple<FullPageId,Boolean> in class org.apache.ignite.internal.processors.cache.database.MetadataStorage | From | To | |
| Rename Variable buf : ByteBuffer to page : Page in method public testPersistence() : void in class org.apache.ignite.internal.processors.cache.database.IgniteCacheDatabasePartitionManagerSelfTest | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private buf : ByteBuffer from class org.apache.ignite.internal.processors.cache.database.IgniteCacheDatabasePartitionManager to private buf : ByteBuffer from class org.apache.ignite.internal.processors.cache.database.IgniteCacheDatabasePartitionManagerSelfTest.DummyPage | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute buf : ByteBuffer to page : Page in class org.apache.ignite.internal.processors.cache.database.IgniteCacheDatabasePartitionManager | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type buf : ByteBuffer to page : Page in method public testPersistence() : void in class org.apache.ignite.internal.processors.cache.database.IgniteCacheDatabasePartitionManagerSelfTest | From | To | |
| Extract Method | 2 | ||
| Extract Method private getOrAllocate(type byte, cacheId int, nameBytes byte[]) : IgniteBiTuple<FullPageId,Boolean> extracted from public getOrAllocateForIndex(cacheId int, idxName String) : IgniteBiTuple<FullPageId,Boolean> in class org.apache.ignite.internal.processors.cache.database.MetadataStorage | From | To | |
| Extract Method private scanForRoot(buf ByteBuffer, type byte, refName byte[], cacheId int) : FullPageId extracted from private scanForIndexRoot(buf ByteBuffer, idxName byte[], cacheId int) : FullPageId in class org.apache.ignite.internal.processors.cache.database.MetadataStorage | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type buf : ByteBuffer to page : Page in class org.apache.ignite.internal.processors.cache.database.IgniteCacheDatabasePartitionManager | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter buf : ByteBuffer to page : Page in method public IgniteCacheDatabasePartitionManager(partCount int, page Page) in class org.apache.ignite.internal.processors.cache.database.IgniteCacheDatabasePartitionManager | From | To | |
| Rename Parameter idxNameBytes : byte[] to nameBytes : byte[] in method private allocateAndWrite(meta Page, type byte, cacheId int, nameBytes byte[], state SearchState) : FullPageId in class org.apache.ignite.internal.processors.cache.database.MetadataStorage | From | To |