2793fb0f86a1dbd5bc6d37b4e65ff70df900215b
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 28
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method private getStorageName() : String renamed to private getStoragePath() : String in class org.lealone.db.Database | From | To | |
Rename Method public getLastKey() : long renamed to public getMaxKeyAsLong() : long in class org.lealone.storage.StorageMapBase | From | To | |
Rename Method public setLastKey(key Object) : void renamed to public setMaxKey(key Object) : void in class org.lealone.storage.StorageMapBase | From | To | |
Rename Method public storageName(storageName String) : StorageBuilder renamed to public storagePath(storagePath String) : StorageBuilder in class org.lealone.storage.StorageBuilder | From | To | |
Pull Up Method | 6 | ||
Pull Up Method private backupFile(out ZipOutputStream, in InputStream, entryName String) : void from class org.lealone.storage.aose.AOStorage to private backupFile(out ZipOutputStream, in InputStream, entryName String) : void from class org.lealone.storage.StorageBase | From | To | |
Pull Up Method public getStorage() : Storage from class org.lealone.storage.memory.MemoryMap to public getStorage() : Storage from class org.lealone.storage.StorageMapBase | From | To | |
Pull Up Method public getStorage() : Storage from class org.lealone.storage.aose.btree.BTreeMap to public getStorage() : Storage from class org.lealone.storage.StorageMapBase | From | To | |
Pull Up Method public append(value V) : K from class org.lealone.storage.aose.btree.BTreeMap to public append(value V) : K from class org.lealone.storage.StorageMapBase | From | To | |
Pull Up Method public append(value V) : K from class org.lealone.storage.memory.MemoryMap to public append(value V) : K from class org.lealone.storage.StorageMapBase | From | To | |
Pull Up Method public drop() : void from class org.lealone.storage.aose.AOStorage to public drop() : void from class org.lealone.storage.StorageBase | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method package testBufferedMap() : void from class org.lealone.test.aose.AOStorageTest to package testCursor() : void from class org.lealone.test.aose.BufferedMapTest | From | To | |
Rename Variable | 5 | ||
Rename Variable storageName : String to storagePath : String in method public getStorageBuilder(storageEngine StorageEngine) : StorageBuilder in class org.lealone.db.Database | From | To | |
Rename Variable storageName : String to storagePath : String in method public openStorage() : AOStorage in class org.lealone.storage.aose.AOStorageBuilder | From | To | |
Rename Variable storageName : String to storagePath : String in method private getChunkFileName(config Map<String,String>, id int) : String in class org.lealone.transaction.mvcc.log.RedoLogChunk | From | To | |
Rename Variable storageName : String to storagePath : String in method public RedoLog(config Map<String,String>) in class org.lealone.transaction.mvcc.log.RedoLog | From | To | |
Rename Variable storageName : String to storagePath : String in method package AOStorage(config Map<String,Object>) in class org.lealone.storage.aose.AOStorage | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute private config : Map<String,Object> from class org.lealone.storage.aose.AOStorage to protected config : Map<String,Object> from class org.lealone.storage.StorageBase | From | To | |
Change Return Type | 1 | ||
Change Return Type void to AOStorage in method package openStorage() : AOStorage in class org.lealone.test.aose.AOStorageTest | From | To | |
Rename Attribute | 6 | ||
Rename Attribute btreeStorageName : String to btreeStoragePath : String in class org.lealone.storage.aose.btree.BTreeStorage | From | To | |
Rename Attribute storageName : String to storagePath : String in class org.lealone.test.aose.BTreeMapTest | From | To | |
Rename Attribute storageName : String to storagePath : String in class org.lealone.test.aose.AOMapPerformanceTest | From | To | |
Rename Attribute storageName : String to storagePath : String in class org.lealone.db.Database | From | To | |
Rename Attribute storage : BTreeStorage to btreeStorage : BTreeStorage in class org.lealone.storage.aose.btree.BTreeMap | From | To | |
Rename Attribute lastKey : AtomicLong to maxKey : AtomicLong in class org.lealone.storage.StorageMapBase | From | To | |
Extract Method | 2 | ||
Extract Method private closeMap() : void extracted from public remove() : void in class org.lealone.storage.aose.btree.BTreeMap | From | To | |
Extract Method private closeMap() : void extracted from public close() : void in class org.lealone.storage.aose.btree.BTreeMap | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public getStoragePath() : String extracted from package AOStorage(config Map<String,Object>) in class org.lealone.storage.aose.AOStorage & moved to class org.lealone.storage.StorageBase | From | To | |
Extract And Move Method package openStorage(pageSplitSize int) : AOStorage extracted from private init() : void in class org.lealone.test.aose.BTreeMapTest & moved to class org.lealone.test.aose.AOStorageTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter storageName : String to storagePath : String in method public storagePath(storagePath String) : StorageBuilder in class org.lealone.storage.StorageBuilder | From | To |