b1125f36203595f87969c5911a1caa8342e99eac
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 2 | ||
Move And Rename Method public readVersion(pagedFile PagedFile, expectedVersion String) : String from class org.neo4j.kernel.impl.storemigration.StoreVersionCheck to private getTheBytesThatWillContainTheTrailer(pageSize int, firstPageThatTrailerMightBeIn long, lastPageId long, pageCursor PageCursor) : byte[] from class org.neo4j.kernel.impl.store.StoreVersionTrailerUtil | From | To | |
Move And Rename Method public findTrailerOffset(src byte[], sought byte[]) : int from class org.neo4j.kernel.impl.storemigration.StoreVersionCheck to private findTrailerPositionInArray(dataThatShouldContailTrailer byte[], trailer byte[]) : int from class org.neo4j.kernel.impl.store.StoreVersionTrailerUtil | From | To | |
Move And Inline Method | 2 | ||
Move And Inline Method protected getEffectiveRecordSize() : int moved from class org.neo4j.kernel.impl.store.AbstractDynamicStore to class org.neo4j.kernel.impl.store.CommonAbstractStore & inlined to public close() : void | From | To | |
Move And Inline Method protected getEffectiveRecordSize() : int moved from class org.neo4j.kernel.impl.store.AbstractDynamicStore to class org.neo4j.kernel.impl.store.CommonAbstractStore & inlined to protected rebuildIdGenerator() : void | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type fs : FileSystemAbstraction to pageCache : PageCache in method public ensureStoreVersion(pageCache PageCache, storeDir File, files Iterable<StoreFile>, version String) : void in class org.neo4j.kernel.impl.storemigration.StoreFile | From | To | |
Rename Variable | 1 | ||
Rename Variable l : long to propertyRecordId : long in method public shouldWriteOutTheDynamicChainBeforeUpdatingThePropertyRecord() : void in class org.neo4j.kernel.impl.store.PropertyStoreTest | From | To | |
Change Return Type | 1 | ||
Change Return Type String to byte[] in method private getTheBytesThatWillContainTheTrailer(pageSize int, firstPageThatTrailerMightBeIn long, lastPageId long, pageCursor PageCursor) : byte[] in class org.neo4j.kernel.impl.store.StoreVersionTrailerUtil | From | To | |
Rename Parameter | 3 | ||
Rename Parameter sought : byte[] to trailer : byte[] in method private findTrailerPositionInArray(dataThatShouldContailTrailer byte[], trailer byte[]) : int in class org.neo4j.kernel.impl.store.StoreVersionTrailerUtil | From | To | |
Rename Parameter fs : FileSystemAbstraction to pageCache : PageCache in method public ensureStoreVersion(pageCache PageCache, storeDir File, files Iterable<StoreFile>, version String) : void in class org.neo4j.kernel.impl.storemigration.StoreFile | From | To | |
Rename Parameter src : byte[] to dataThatShouldContailTrailer : byte[] in method private findTrailerPositionInArray(dataThatShouldContailTrailer byte[], trailer byte[]) : int in class org.neo4j.kernel.impl.store.StoreVersionTrailerUtil | From | To |