30c4eef5dea7e28e16a3180450c604c4c175eeec
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Variable | 3 | ||
Extract Variable oldBuff : ByteBuffer in method package read(buff ByteBuffer, chunkId int, offset int, maxLength int, disableCheck boolean) : void from class org.lealone.storage.aose.btree.BTreeNodePage | From | To | |
Extract Variable pr : PageReference in method private dfs(map Map<String,List<PageKey>>, random Random, from K, to K, pageKeys List<PageKey>) : void from class org.lealone.storage.aose.btree.BTreeMap | From | To | |
Extract Variable oldBuff : ByteBuffer in method package read(buff ByteBuffer, chunkId int, offset int, maxLength int, disableCheck boolean) : void from class org.lealone.storage.aose.btree.BTreeLeafPage | From | To | |
Extract Method | 5 | ||
Extract Method public getEndpointToPageKeyMap(session Session, from K, to K, pageKeys List<PageKey>) : Map<String,List<PageKey>> extracted from public getEndpointToPageKeyMap(session Session, from K, to K) : Map<String,List<PageKey>> in class org.lealone.storage.aose.btree.BTreeMap | From | To | |
Extract Method private addLeafPage(pageKey PageKey, page ByteBuffer, addPage boolean, readStreamPage boolean) : void extracted from public addLeafPage(pageKey PageKey, page ByteBuffer, addPage boolean) : void in class org.lealone.storage.aose.btree.BTreeMap | From | To | |
Extract Method package read(buff ByteBuffer, chunkId int, offset int, maxLength int) : void extracted from package read(fileStorage FileStorage, pos long, map BTreeMap<?,?>, filePos long, maxPos long) : BTreePage in class org.lealone.storage.aose.btree.BTreePage | From | To | |
Extract Method package readPageBuff(fileStorage FileStorage, maxLength int, filePos long, maxPos long) : ByteBuffer extracted from package read(fileStorage FileStorage, pos long, map BTreeMap<?,?>, filePos long, maxPos long) : BTreePage in class org.lealone.storage.aose.btree.BTreePage | From | To | |
Extract Method package read(buff ByteBuffer, chunkId int, offset int, maxLength int) : void extracted from package readReplicatedPage(map BTreeMap<?,?>, buff ByteBuffer) : BTreePage in class org.lealone.storage.aose.btree.BTreePage | From | To | |
Rename Parameter | 4 | ||
Rename Parameter isLeaf : boolean to disableCheck : boolean in method package read(buff ByteBuffer, chunkId int, offset int, maxLength int, disableCheck boolean) : void in class org.lealone.storage.aose.btree.BTreeLeafPage | From | To | |
Rename Parameter isLeaf : boolean to disableCheck : boolean in method package read(buff ByteBuffer, chunkId int, offset int, maxLength int, disableCheck boolean) : void in class org.lealone.storage.aose.btree.BTreeNodePage | From | To | |
Rename Parameter isLeaf : boolean to disableCheck : boolean in method package read(buff ByteBuffer, chunkId int, offset int, maxLength int, disableCheck boolean) : void in class org.lealone.storage.aose.btree.BTreePage | From | To | |
Rename Parameter isLeaf : boolean to disableCheck : boolean in method package read(buff ByteBuffer, chunkId int, offset int, maxLength int, disableCheck boolean) : void in class org.lealone.storage.aose.btree.BTreeRemotePage | From | To |